Commit Graph

6 Commits (77f925d49f9d2f356bf94aa8ec86df4a3419b946)

Author SHA1 Message Date
Erik Andresen bcde01f7a5 chess: Disable button when alert is shown 2023-07-06 21:17:09 +02:00
Erik Andresen b8ddb0cc58 chess bugfixes 2023-07-06 10:25:48 +02:00
Erik Andresen 2c4ee723ef chess: minor tweaks 2023-07-03 07:43:38 +02:00
Erik Andresen e5a3dc48f9 Revert "chess: enable emulator"
This reverts commit 3df2f223aa.
2023-07-03 01:43:19 +02:00
Erik Andresen 3df2f223aa chess: enable emulator 2023-07-02 23:17:11 +02:00
Erik Andresen 560f9e1e53 Added chess game
Human with white and computer with black.

Based on p4wn engine[1]. Computations are rather slow but it works.

Usage: Drag on the touchscreen to move the green cursor onto a piece, select it with a single touch and drag the now red cursor around. Release the piece with another touch to finish the move. The button opens a menu.

[1] https://p4wn.sourceforge.net/
2023-07-02 23:00:43 +02:00