Commit graph

12 commits

Author SHA1 Message Date
jake
e31a2fd04f correctly calculate checkmate.
move check_for_promotion() at the very start of new turn.

add green color for MoveTile.gd (for showing map control)

add some functions that show board control.

modify some functions so that they will use 'text_board' rather than the player presented board.
2023-02-21 13:32:39 -05:00
jake
5163f85f12 added checkmating. also touched every function to support this, and added a few more too 2023-02-19 21:06:13 -05:00
jake
1a5368956f en_passent -> en_passant 2023-02-19 11:10:41 -05:00
jake
f381c51566 (rebase this), pawn no longer prints "must attack" 2023-02-19 10:59:00 -05:00
jake
27314b008d pawn's correctly update control board 2023-02-19 04:27:15 -05:00
jake
76b16ada7a pawn promotion (to queen) 2023-02-19 04:06:56 -05:00
jake
573909c7d7 complete castling rules, note if a king is checked, added 'control' boards for each team, added turn counting (based on piece movement) 2023-02-19 03:21:43 -05:00
jake
74580ebfa9 appese debugger warnings and remove/change unneeded/unused code 2023-02-18 17:23:22 -05:00
jake
dc24d163a2 (rebase this) en passant fix 2023-02-18 16:54:16 -05:00
jake
d98b313006 en passant bug fix; don't check out of bounds 2023-02-18 16:48:07 -05:00
jake
4b9191e481 Add en passant and castling 2023-02-18 16:41:27 -05:00
jake
ece682cacb Initial Commit 2023-02-17 14:37:23 -05:00