optifat / chess_engine Goto Github PK
View Code? Open in Web Editor NEWChess engine (no pruning and evaluating of positional factors right now)
License: MIT License
Chess engine (no pruning and evaluating of positional factors right now)
License: MIT License
The function Node::updateParentsPositionValue() is currently not used, cause it works wrong in case of zugzwangs.
Example case
Node N has position value X. All children are created, we don't have any better value (in terms of MiniMax), so N still has value X. But after creating all possible grandchildren it's obvious, that position has zugzwang, and any move makes position value worse. But Node::updateParentsPositionValue() can't update N's value, because it's smaller than all children have. Is it actually possible to update position value without checking all the children?
Get this error every time in "5r1k/2R3Rp/8/8/8/8/8/K7 w - - 0 1" position with tree depth 5 after some time of running the program. Not tested on Linux yet
RN if node has no children, we claim that the position is either with checkmate or with stalemate. While it's correct generally, it works wrong for the deepest layer (we simply don't generate children for nodes there)
If the black (and only black) king is located on h8 field, and white take any piece with check, it becomes white for some reason
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.