I guess you know how to play chess.. Don't use turbomode Newer feature: pruning which makes it a lot faster, not really visible on scratch but huge speed on turbowarp: https://turbowarp.org/704306031 NEW FEATURE - undo, press U to undo moves (unlimited) but unfortunately (or maybe fortunately) there is few bugs that can give you advantage.. Ok well this is just a little minimax chess AI engine, where you can do move and AI will do move for itself.
The AI default depth is 2 (AI checks next your its move and next your move) You can change it by going into code and set calculation depth to 1 - 5. The bigger depth is, the better AI gets but needs more time to think. Depth 2 is pretty quick on scratch, nearly instant on turbowarp. Depth 3 is slow on scratch, quick on turbowarp. Depth 4 very slow on scratch, a bit faster on turbowarp BUT it's still not working yet so don't use it.