This is a chess engine. You play against an AI. To move, either click and drag pieces or click starting and ending square. It usually spends around 10-15 seconds on a move. Currently, it lacks castling, en passant, promotion, and checks. It also fails perft(4), with 197,742 nodes instead of 197,281, and I have no idea why.
*CURRENTLY DOES NOT WORK.* Development has ceased. I'll fix the bugs that this has but I won't continue it further. I am still working on a chess engine, but in a different language: https://github.com/Beanie496/Crab. This other chess engine fully implements all the rules of chess is orders of magnitude faster (~9 million positions per second during the search currently) and almost superhuman strength. Here is a list of stuff that needs to be implemented/completed for this to be considered 'working', in no particular order: - Check - Checkmate - Stalemate - Castling - En Passant - 50-move rule - Promotion === Credits: - @ArnoHu for his scratch project 'Chess'. (https://scratch.mit.edu/projects/148769358) that inspired me to make my own. - Chess Programming Wiki for teaching me a variety of techniques. === Possible questions: 'Why are the pieces pixelated when stationary but suddenly high-resolution when moving?' Stationary pieces are all stamped (stamps are bitmaps) but the original costumes are vectors. === If you found any bugs or have any suggestions that aren't to do with adding new techniques then please let me know.