UCI Compatible Alpha-Beta Chess Engine Written in Rust
faydspeare / celestial Goto Github PK
View Code? Open in Web Editor NEWUCI Compatible Alpha-Beta Chess Engine written in Rust.
UCI Compatible Alpha-Beta Chess Engine written in Rust.
Hello FaydSpeare,
could you create 32/64 executable files for Windows and host these data on GitHub, please?
Unfortunately I am not a programmer.
Regards,
Celestial doesn't take into account the moves parameter of the position fen command, which leads to illegal moves:
[Event "?"]
[Site "?"]
[Date "2019.05.09"]
[Round "?"]
[White "Celestial 1.0 64-bit"]
[Black "_SF10"]
[Result "0-1"]
[FEN "8/P7/8/8/8/7k/7p/7K w - - 0 1"]
[GameDuration "00:00:09"]
[GameEndTime "2019-05-09T18:05:04.760 Eastern Daylight Time"]
[GameStartTime "2019-05-09T18:04:54.918 Eastern Daylight Time"]
[PlyCount "2"]
[SetUp "1"]
[Termination "illegal move"]
[TimeControl "40/120"]
1. a8=Q {+10.33/9 4.0s} Kg4 {-M14/56 2.0s, White makes an illegal move: a7a8q}
0-1
Debug log from Cute Chess GUI:
<Celestial 1.0 64-bit(202): id name Celestial
<Celestial 1.0 64-bit(202): id author Fayd Speare
<Celestial 1.0 64-bit(202): uciok
>Celestial 1.0 64-bit(202): isready
<Celestial 1.0 64-bit(202): readyok
>Celestial 1.0 64-bit(202): ucinewgame
>Celestial 1.0 64-bit(202): position fen 8/P7/8/8/8/7k/7p/7K w - - 0 1
>Celestial 1.0 64-bit(202): isready
<Celestial 1.0 64-bit(202): Position:
<Celestial 1.0 64-bit(202): 8 | r n b q k b n r
<Celestial 1.0 64-bit(202): 7 | p p p p p p p p
<Celestial 1.0 64-bit(202): 6 | - - - - - - - -
<Celestial 1.0 64-bit(202): 5 | - - - - - - - -
<Celestial 1.0 64-bit(202): 4 | - - - - - - - -
<Celestial 1.0 64-bit(202): 3 | - - - - - - - -
<Celestial 1.0 64-bit(202): 2 | P P P P P P P P
<Celestial 1.0 64-bit(202): 1 | R N B Q K B N R
<Celestial 1.0 64-bit(202): |________________
<Celestial 1.0 64-bit(202): a b c d e f g h
<Celestial 1.0 64-bit(202): to__play: white
<Celestial 1.0 64-bit(202): castling: KQkq
<Celestial 1.0 64-bit(202): _____ply: 0
<Celestial 1.0 64-bit(202): ___fifty: 0
<Celestial 1.0 64-bit(202): ______ep: -1
<Celestial 1.0 64-bit(202): _pos_key: 5c0b90882ac595e8
<Celestial 1.0 64-bit(202): 8/P7/8/8/8/7k/7p/7K w - - 0 1
<Celestial 1.0 64-bit(202): Position:
<Celestial 1.0 64-bit(202): 8 | - - - - - - - -
<Celestial 1.0 64-bit(202): 7 | P - - - - - - -
<Celestial 1.0 64-bit(202): 6 | - - - - - - - -
<Celestial 1.0 64-bit(202): 5 | - - - - - - - -
<Celestial 1.0 64-bit(202): 4 | - - - - - - - -
<Celestial 1.0 64-bit(202): 3 | - - - - - - - k
<Celestial 1.0 64-bit(202): 2 | - - - - - - - p
<Celestial 1.0 64-bit(202): 1 | - - - - - - - K
<Celestial 1.0 64-bit(202): |________________
<Celestial 1.0 64-bit(202): a b c d e f g h
<Celestial 1.0 64-bit(202): to__play: white
<Celestial 1.0 64-bit(202): castling:
<Celestial 1.0 64-bit(202): _____ply: 0
<Celestial 1.0 64-bit(202): ___fifty: 0
<Celestial 1.0 64-bit(202): ______ep: -1
<Celestial 1.0 64-bit(202): _pos_key: cc23e40584ed8cfd
<Celestial 1.0 64-bit(202): readyok
>Celestial 1.0 64-bit(202): go wtime 120000 btime 120000 movestogo 40
<Celestial 1.0 64-bit(202): info score cp 843 depth 1 nodes 5 nps -2147483648 move a7a8q ordering:NaN pv a7a8q
<Celestial 1.0 64-bit(202): info score cp 838 depth 2 nodes 16 nps -2147483648 move a7a8q ordering:1.00 pv a7a8q h3g3
<Celestial 1.0 64-bit(202): info score cp 863 depth 3 nodes 73 nps -2147483648 move a7a8q ordering:1.00 pv a7a8q h3g3 a8e4
<Celestial 1.0 64-bit(202): info score cp 1013 depth 4 nodes 430 nps -2147483648 move a7a8q ordering:0.85 pv a7a8q h3g3 a8a2 g3h3
<Celestial 1.0 64-bit(202): info score cp 1018 depth 5 nodes 2550 nps 2550000 move a7a8q ordering:0.90 pv a7a8q h3g3 a8a3 g3f4 a3c3
<Celestial 1.0 64-bit(202): info score cp 1033 depth 6 nodes 13893 nps 2778600 move a7a8q ordering:0.95 pv a7a8q h3g3 a8e4 g3h3 e4e5 h3g4
<Celestial 1.0 64-bit(202): info score cp 1033 depth 7 nodes 78450 nps 2705172 move a7a8q ordering:0.98 pv a7a8q h3g3 a8e4 g3h3 e4e5 h3g4 h1h2
<Celestial 1.0 64-bit(202): info score cp 1033 depth 8 nodes 1098198 nps 2759291 move a7a8q ordering:0.99 pv a7a8q h3g4 h1h2 g4f5 a8d5 f5f4 d5d4 f4f3
<Celestial 1.0 64-bit(202): info score cp 1033 depth 9 nodes 8315768 nps 2785851 move a7a8q ordering:0.98 pv a7a8q h3g3 a8e4 g3h3 e4g2 h3h4 h1h2 h4h5 g2e4
<Celestial 1.0 64-bit(202): bestmove a7a8q
<Celestial 1.0 64-bit(202): Position:
<Celestial 1.0 64-bit(202): 8 | Q - - - - - - -
<Celestial 1.0 64-bit(202): 7 | - - - - - - - -
<Celestial 1.0 64-bit(202): 6 | - - - - - - - -
<Celestial 1.0 64-bit(202): 5 | - - - - - - - -
<Celestial 1.0 64-bit(202): 4 | - - - - - - - -
<Celestial 1.0 64-bit(202): 3 | - - - - - - - k
<Celestial 1.0 64-bit(202): 2 | - - - - - - - p
<Celestial 1.0 64-bit(202): 1 | - - - - - - - K
<Celestial 1.0 64-bit(202): |________________
<Celestial 1.0 64-bit(202): a b c d e f g h
<Celestial 1.0 64-bit(202): to__play: black
<Celestial 1.0 64-bit(202): castling:
<Celestial 1.0 64-bit(202): _____ply: 1
<Celestial 1.0 64-bit(202): ___fifty: 0
<Celestial 1.0 64-bit(202): ______ep: -1
<Celestial 1.0 64-bit(202): _pos_key: 2f82ecb6240c1097
>Celestial 1.0 64-bit(202): position fen 8/P7/8/8/8/7k/7p/7K w - - 0 1 moves a7a8q h3g4
>Celestial 1.0 64-bit(202): isready
<Celestial 1.0 64-bit(202): 8/P7/8/8/8/7k/7p/7K w - - 0 1
<Celestial 1.0 64-bit(202): Position:
<Celestial 1.0 64-bit(202): 8 | - - - - - - - -
<Celestial 1.0 64-bit(202): 7 | P - - - - - - -
<Celestial 1.0 64-bit(202): 6 | - - - - - - - -
<Celestial 1.0 64-bit(202): 5 | - - - - - - - -
<Celestial 1.0 64-bit(202): 4 | - - - - - - - -
<Celestial 1.0 64-bit(202): 3 | - - - - - - - k
<Celestial 1.0 64-bit(202): 2 | - - - - - - - p
<Celestial 1.0 64-bit(202): 1 | - - - - - - - K
<Celestial 1.0 64-bit(202): |________________
<Celestial 1.0 64-bit(202): a b c d e f g h
<Celestial 1.0 64-bit(202): to__play: white
<Celestial 1.0 64-bit(202): castling:
<Celestial 1.0 64-bit(202): _____ply: 0
<Celestial 1.0 64-bit(202): ___fifty: 0
<Celestial 1.0 64-bit(202): ______ep: -1
<Celestial 1.0 64-bit(202): _pos_key: cc23e40584ed8cfd
<Celestial 1.0 64-bit(202): readyok
>Celestial 1.0 64-bit(202): go wtime 115996 btime 118037 movestogo 39
<Celestial 1.0 64-bit(202): info score cp 843 depth 1 nodes 5 nps -2147483648 move a7a8q ordering:NaN pv a7a8q
<Celestial 1.0 64-bit(202): info score cp 838 depth 2 nodes 16 nps -2147483648 move a7a8q ordering:1.00 pv a7a8q h3g3
<Celestial 1.0 64-bit(202): info score cp 863 depth 3 nodes 73 nps -2147483648 move a7a8q ordering:1.00 pv a7a8q h3g3 a8e4
<Celestial 1.0 64-bit(202): info score cp 1013 depth 4 nodes 430 nps -2147483648 move a7a8q ordering:0.85 pv a7a8q h3g3 a8a2 g3h3
<Celestial 1.0 64-bit(202): info score cp 1018 depth 5 nodes 2550 nps 2550000 move a7a8q ordering:0.90 pv a7a8q h3g3 a8a3 g3f4 a3c3
<Celestial 1.0 64-bit(202): info score cp 1033 depth 6 nodes 13893 nps 2778600 move a7a8q ordering:0.95 pv a7a8q h3g3 a8e4 g3h3 e4e5 h3g4
<Celestial 1.0 64-bit(202): info score cp 1033 depth 7 nodes 78450 nps 2705172 move a7a8q ordering:0.98 pv a7a8q h3g3 a8e4 g3h3 e4e5 h3g4 h1h2
<Celestial 1.0 64-bit(202): info score cp 1033 depth 8 nodes 1098198 nps 2745495 move a7a8q ordering:0.99 pv a7a8q h3g4 h1h2 g4f5 a8d5 f5f4 d5d4 f4f3
<Celestial 1.0 64-bit(202): info score cp 1033 depth 9 nodes 8315768 nps 2767310 move a7a8q ordering:0.98 pv a7a8q h3g3 a8e4 g3h3 e4g2 h3h4 h1h2 h4h5 g2e4
<Celestial 1.0 64-bit(202): bestmove a7a8q
>Celestial 1.0 64-bit(202): isready
<Celestial 1.0 64-bit(202): Position:
<Celestial 1.0 64-bit(202): 8 | Q - - - - - - -
<Celestial 1.0 64-bit(202): 7 | - - - - - - - -
<Celestial 1.0 64-bit(202): 6 | - - - - - - - -
<Celestial 1.0 64-bit(202): 5 | - - - - - - - -
<Celestial 1.0 64-bit(202): 4 | - - - - - - - -
<Celestial 1.0 64-bit(202): 3 | - - - - - - - k
<Celestial 1.0 64-bit(202): 2 | - - - - - - - p
<Celestial 1.0 64-bit(202): 1 | - - - - - - - K
<Celestial 1.0 64-bit(202): |________________
<Celestial 1.0 64-bit(202): a b c d e f g h
<Celestial 1.0 64-bit(202): to__play: black
<Celestial 1.0 64-bit(202): castling:
<Celestial 1.0 64-bit(202): _____ply: 1
<Celestial 1.0 64-bit(202): ___fifty: 0
<Celestial 1.0 64-bit(202): ______ep: -1
<Celestial 1.0 64-bit(202): _pos_key: 2f82ecb6240c1097
<Celestial 1.0 64-bit(202): readyok
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.