Commit Graph

4 Commits (3f0dbc04c7bf6b13fdc92f5d12b363bcca35c0ca)

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 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