Click on the starting square of a piece and then on the destination square to move it. Engine always plays black. Play on turbowarp.org/791642623 for much greater performance. WARNING: There is no checking for legality of user input. This is in order to allow the player to set up positions and make special moves (castling and en passant). Press Space to launch the engine. You won't be able to make moves until the engine has made one (the engine cannot castle or play en passant, even if forced). Press D to change the search depth (default is 2, but even 3 in a middlegame on native Scratch is extremely slow; use TurboWarp to improve performance) NOTE: this engine is extremely weak, as it does not contain any quiescence search, quiet move ordering and forward pruning. It is therefore highly subject to the horizon effect and will make lots of dumb moves at low depth; it can also not see any checkmates at depths below 4; checkmates can also be missed when it is on the verge of being mated, as search doesn't stop after checkmate.