obalcells / dratini Goto Github PK
View Code? Open in Web Editor NEWC++ chess engine
C++ chess engine
When a snapshot is loaded, it causes an infinite loop in main.cpp
.
The program can't parse input after loading a game snapshot.
engine> Error at parsing input, try again
The following snapshot snapshots/error-e1g1.snapshot
triggers the error:
0
63
0
0 3
0 1
0 2
0 4
0 5
6 6
6 6
1 1
0 0
0 0
0 0
6 6
0 0
0 0
0 2
0 0
6 6
6 6
6 6
6 6
6 6
0 1
6 6
6 6
6 6
6 6
6 6
0 0
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
6 6
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 3
1 1
1 2
1 4
1 5
1 2
6 6
1 3
Hello Oscar,
When compiling Dratini for windows and let it start from cmd it will always crash after its first move,
with the error message below (also I see no thinking output except the final ove BTW)
Assertion failed: go_struct->param_name == MOVETIME, file src/uci.cpp, line 79
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I have to mention that I also need to insert includes of <assert.h> in three files,
in board/move and uci.cpp, to make it compile at all.
Do you have any idea what the problem might be? Oh, not to forget this was for revision 69.
Guenther
Castling flag for individual towers 1, 2, 8, 16
isn't being disabled when the tower gets eaten or moves. A castling move is generated even when the tower isn't in the right position, so when move is taken back an additional tower is created, which triggers the assert(state_now.same(state_before))
.
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.