oyvindsabo / chess-bot Goto Github PK
View Code? Open in Web Editor NEWChess bot
Chess bot
Every analyzed board move should be saved in a global hashmap with the board as the key and the score as the value.
Now, when searching 5 plys, or doing quiescence search, the app sometimes crashes.
Now, if you first click the from-square, and then click a valid to-square, then a move will be made to the to-square, even if the only legal move to the to-square does not originate from the from-square.
There is no reason to use the inefficient make_pretty function to return a move which will never be used when undoing. Implement ugly_undo which uses undo_move directly.
Store all moves which have previously forced a cutoff and examine those first.
Currently, there is a timeout of 0ms from the time the player makes his/her move and the bot starts analyzing the board. On slower devices, like smart phones, this is not enough time to re-render the board.
Store score which resulted in the previous move in a public variable. If a move which is better than that one is found, then that move shall be chosen.
Causes minimax to not work..
The bot increases its board score if it has many available moves, but its opponent is valued negatively if the bot has many available moves. This isn't necessarily wrong, but I'd prefer a symmetrical evaluation function.
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.