Ataxx

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Ataxx

Post by Ferdy »

flok wrote: Thu Oct 24, 2019 12:48 pm
Ferdy wrote: Thu Oct 24, 2019 10:14 amDo you have an exe compile of Sashaxxx? or any other engine that will run on acraps?
Hi,

Compiling for windows was not very complex, so: https://vanheusden.com/Sashaxxx/ <= there you can find a zip-file with exe of Sashaxxx.
Unfortunately it does not run, I am using an old 64bit processor.
Are you aware of the Ataxx-server running on the ataxx.org website? See https://www.ataxx.org/#server
Basically if your program speaks UAI (like your program does), then you can use https://github.com/flok99/waxx/blob/master/client.py to interface your program to the server. On http://server.ataxx.org/ you can see statistics.
The program requires a username and password: you can choose anything you like; a new account will automatically be created.
Yes I am aware of it. I could not run client.py because of
import fcntl
it seems like this is for unix only and I am on windows 7.
User avatar
flok
Posts: 481
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Ataxx

Post by flok »

Ferdy wrote: Thu Oct 24, 2019 2:32 pm
Are you aware of the Ataxx-server running on the ataxx.org website? See https://www.ataxx.org/#server
Basically if your program speaks UAI (like your program does), then you can use https://github.com/flok99/waxx/blob/master/client.py to interface your program to the server. On http://server.ataxx.org/ you can see statistics.
The program requires a username and password: you can choose anything you like; a new account will automatically be created.
Yes I am aware of it. I could not run client.py because of
import fcntl
it seems like this is for unix only and I am on windows 7.
Can you give the new version a try? This version does not use fcntl.

I've also updated the exe version.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Ataxx

Post by Ferdy »

flok wrote: Thu Oct 24, 2019 7:08 pm
Ferdy wrote: Thu Oct 24, 2019 2:32 pm
Are you aware of the Ataxx-server running on the ataxx.org website? See https://www.ataxx.org/#server
Basically if your program speaks UAI (like your program does), then you can use https://github.com/flok99/waxx/blob/master/client.py to interface your program to the server. On http://server.ataxx.org/ you can see statistics.
The program requires a username and password: you can choose anything you like; a new account will automatically be created.
Yes I am aware of it. I could not run client.py because of
import fcntl
it seems like this is for unix only and I am on windows 7.
Can you give the new version a try? This version does not use fcntl.

I've also updated the exe version.
On Sashaxxx.exe, still does not run. There is cygwin_exception.

Code: Select all

C:\Downloads\Sashaxxx-97227d5>sashaxxx
      0 [main] sashaxxx 608 cygwin_exception::open_stackdumpfile: Dumping stack
trace to Sashaxxx.exe.stackdump

The dump:

Code: Select all

Exception: STATUS_ILLEGAL_INSTRUCTION at rip=00100402D05
rax=0000000000000005 rbx=00000000FFFEC4A0 rcx=0000000600063788
rdx=000000010040B077 rsi=00000000FFFEC970 rdi=00000000FFFECBA0
r8 =0000000000000008 r9 =0000000000000078 r10=0000000000000073
r11=00000003EBDE4F5C r12=00000000FFFEC6B0 r13=00000000FFFFCC50
r14=0000000000000000 r15=00000000FFFFCC78
rbp=00000000FFFFCCD0 rsp=00000000FFFEC450
program=C:\Downloads\Sashaxxx-97227d5\Sashaxxx.exe, pid 608, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
000FFFFCCD0  00100402D05 (2D62CB0DCDD5AB58, 00100000006, 000EBDE9960, 003EBDE8B60)
000FFFFCCD0  00100403234 (00000000000, 00000000000, 00000000000, 000FFFECBA0)
000FFFFCCD0  00100407F15 (00000000020, FF0700010302FF00, 0018004A7AA, 00000000000)
000FFFFCCD0  0018004A816 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00180048353 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00180048404 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace

Will try the client.py later.

Thanks.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Ataxx

Post by Ferdy »

flok wrote: Thu Oct 24, 2019 7:08 pm
Ferdy wrote: Thu Oct 24, 2019 2:32 pm
Are you aware of the Ataxx-server running on the ataxx.org website? See https://www.ataxx.org/#server
Basically if your program speaks UAI (like your program does), then you can use https://github.com/flok99/waxx/blob/master/client.py to interface your program to the server. On http://server.ataxx.org/ you can see statistics.
The program requires a username and password: you can choose anything you like; a new account will automatically be created.
Yes I am aware of it. I could not run client.py because of
import fcntl
it seems like this is for unix only and I am on windows 7.
Can you give the new version a try? This version does not use fcntl.

I've also updated the exe version.
client.py is working.
User avatar
flok
Posts: 481
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Ataxx

Post by flok »

Ferdy wrote: Sat Oct 26, 2019 1:57 amclient.py is working.
Is your program Atakador? Plays very well! (ignore the neural nets because they always win)
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Ataxx

Post by Ferdy »

flok wrote: Sat Oct 26, 2019 11:22 pm
Ferdy wrote: Sat Oct 26, 2019 1:57 amclient.py is working.
Is your program Atakador?
Yes.
Plays very well! (ignore the neural nets because they always win)
Tried viewing some games of ataxxzero, below is interesting, ataxxzero as black (white dots) just played a7. It does not try to gain material but seemed trying to allow its opponent to expand in the center.

Image

FEN: 1oxx3/oxxx3/oxx4/7/7/1x3o1/x5o o 0 11

Here is Atakador's analysis, its a python engine. Just curious what it thinks.

C:\ataxx>py -3 atakador.py
info string This is Atakador an engine that can play standard Ataxx game.
info string Atakador is a Filipino word meaning likes to attack.
info string Credits: Python-ataxx modules
uai
id name Atakador v0.11.5
id author fsm
option name UCI_Opponent type None 1000 computer Atakador v0.11.5
option name NullMovePruning type check default true
uaiok

Code: Select all

uainewgame
position fen 1oxx3/oxxx3/oxx4/7/7/1x3o1/x5o o 0 11
board
  a b c d e f g
 ╔═╦═╦═╦═╦═╦═╦═╗
7║ ║O║X║X║ ║ ║ ║7
 ╠═╬═╬═╬═╬═╬═╬═╣
6║O║X║X║X║ ║ ║ ║6
 ╠═╬═╬═╬═╬═╬═╬═╣
5║O║X║X║ ║ ║ ║ ║5
 ╠═╬═╬═╬═╬═╬═╬═╣
4║ ║ ║ ║ ║ ║ ║ ║4
 ╠═╬═╬═╬═╬═╬═╬═╣
3║ ║ ║ ║ ║ ║ ║ ║3
 ╠═╬═╬═╬═╬═╬═╬═╣
2║ ║X║ ║ ║ ║O║ ║2
 ╠═╬═╬═╬═╬═╬═╬═╣
1║X║ ║ ║ ║ ║ ║O║1
 ╚═╩═╩═╩═╩═╩═╩═╝
  a b c d e f g
Turn: O
fen
1oxx3/oxxx3/oxx4/7/7/1x3o1/x5o o 0 11
go movetime 60000
info depth 1 score cp 10 time 497 nps 66 pv b7d5
info depth 2 score cp -10 time 3820 nps 63 pv b7d5 b7
info depth 3 score cp -110 time 27039 nps 65 pv b7d5 b5d4 a5c4
info score cp -110 time 27039
bestmove b7d5
How deep are these other engines are searching?

It is fun implementing different ideas even with this slow searcher :)
nullmove is ok
lmr is ok
hashtable just even (remove it for a moment)
qsearch is ok
move ordering with static board evaluation is ok
move ordering from pv is ok

Will release it once it is stable and other improvement ideas are tried.

Found a nice article on ataxx at http://www.linuxonly.nl/docs/4/0_Ataxx.html#page96
Perhaps it is better if you add this link on your website, something like programming resources section.
User avatar
flok
Posts: 481
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Ataxx

Post by flok »

Ferdy wrote: Sun Oct 27, 2019 2:01 am Tried viewing some games of ataxxzero, below is interesting, ataxxzero as black (white dots) just played a7. It does not try to gain material but seemed trying to allow its opponent to expand in the center.

Image

FEN: 1oxx3/oxxx3/oxx4/7/7/1x3o1/x5o o 0 11

Here is Atakador's analysis, its a python engine. Just curious what it thinks.

C:\ataxx>py -3 atakador.py
info string This is Atakador an engine that can play standard Ataxx game.
info string Atakador is a Filipino word meaning likes to attack.
info string Credits: Python-ataxx modules
uai
id name Atakador v0.11.5
id author fsm
option name UCI_Opponent type None 1000 computer Atakador v0.11.5
option name NullMovePruning type check default true
uaiok

Code: Select all

uainewgame
position fen 1oxx3/oxxx3/oxx4/7/7/1x3o1/x5o o 0 11
board
  a b c d e f g
 ╔═╦═╦═╦═╦═╦═╦═╗
7║ ║O║X║X║ ║ ║ ║7
 ╠═╬═╬═╬═╬═╬═╬═╣
6║O║X║X║X║ ║ ║ ║6
 ╠═╬═╬═╬═╬═╬═╬═╣
5║O║X║X║ ║ ║ ║ ║5
 ╠═╬═╬═╬═╬═╬═╬═╣
4║ ║ ║ ║ ║ ║ ║ ║4
 ╠═╬═╬═╬═╬═╬═╬═╣
3║ ║ ║ ║ ║ ║ ║ ║3
 ╠═╬═╬═╬═╬═╬═╬═╣
2║ ║X║ ║ ║ ║O║ ║2
 ╠═╬═╬═╬═╬═╬═╬═╣
1║X║ ║ ║ ║ ║ ║O║1
 ╚═╩═╩═╩═╩═╩═╩═╝
  a b c d e f g
Turn: O
fen
1oxx3/oxxx3/oxx4/7/7/1x3o1/x5o o 0 11
go movetime 60000
info depth 1 score cp 10 time 497 nps 66 pv b7d5
info depth 2 score cp -10 time 3820 nps 63 pv b7d5 b7
info depth 3 score cp -110 time 27039 nps 65 pv b7d5 b5d4 a5c4
info score cp -110 time 27039
bestmove b7d5
How deep are these other engines are searching?
Tiktaxx for example:

info depth 14 nodes 20392693 score 60 time 5245 pv b7 f6 c6 e5 g2 b2 f3 d4 f3d5
It is fun implementing different ideas even with this slow searcher :)
nullmove is ok
lmr is ok
hashtable just even (remove it for a moment)
qsearch is ok
move ordering with static board evaluation is ok
move ordering from pv is ok

Will release it once it is stable and other improvement ideas are tried.
Looking forward! Especially is noon has succeeded in qs for ataxx yet that i know.
It has an interestijng idea about eval.
Perhaps it is better if you add this link on your website, something like programming resources section.
Will do.

Have you seen that the server-page has a live-viewer now?
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Ataxx

Post by Ferdy »

flok wrote: Sun Oct 27, 2019 4:47 pm Have you seen that the server-page has a live-viewer now?
Just saw it. I like the stone count info. One improvement is to highlight the last move
and show the fen. Also indicate that first player is handling black-colored pieces.

Image
User avatar
flok
Posts: 481
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Ataxx

Post by flok »

Ferdy wrote: Mon Oct 28, 2019 8:12 am
flok wrote: Sun Oct 27, 2019 4:47 pm Have you seen that the server-page has a live-viewer now?
Just saw it. I like the stone count info. One improvement is to highlight the last move
and show the fen. Also indicate that first player is handling black-colored pieces.
Done!
Twipply
Posts: 9
Joined: Fri Dec 02, 2016 8:55 pm

Re: Ataxx

Post by Twipply »

Ferdy wrote: Sun Oct 27, 2019 2:01 am qsearch is ok
Definitely interested in what you've come up with for that - everything I've tried so far has failed.
Engine Programming on Discord -- https://discord.gg/invite/YctB2p4