summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-24add ai movement based on 'points' gained/lostHEADmasterjake
2023-02-21make sure AI knows that only pawns can kill en passant pawnsjake
2023-02-21add weighted movement for ai, so it'll intentionally capture thingsjake
2023-02-21added purely random ai (doesn't care if it gets checked or not) and made ↵jake
some changes so that AI can do castling and en passant kills.
2023-02-21correctly calculate checkmate. jake
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-19added checkmating. also touched every function to support this, and added a ↵jake
few more too
2023-02-19en_passent -> en_passantjake
2023-02-19(rebase this), pawn no longer prints "must attack"jake
2023-02-19pawn's correctly update control boardjake
2023-02-19pawn promotion (to queen)jake
2023-02-19complete castling rules, note if a king is checked, added 'control' boards ↵jake
for each team, added turn counting (based on piece movement)
2023-02-18appese debugger warnings and remove/change unneeded/unused codejake
2023-02-18(rebase this) en passant fixjake
2023-02-18en passant bug fix; don't check out of boundsjake
2023-02-18Add en passant and castlingjake
2023-02-17Initial Commitjake
2023-02-17Initial commitjake