diff options
author | jake <jake@jakes-mail.top> | 2023-02-18 16:41:27 -0500 |
---|---|---|
committer | jake <jake@jakes-mail.top> | 2023-02-18 16:41:27 -0500 |
commit | 4b9191e4819a79636ba4a68b7dd9850e622ed40f (patch) | |
tree | f123fc5cfd5e46f97396695c3d06632cfebddac2 /Sprite.gd | |
parent | ece682cacbb4300897239cd03cc427161788626e (diff) |
Add en passant and castling
Diffstat (limited to 'Sprite.gd')
-rw-r--r-- | Sprite.gd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,9 @@ var CELL_H = 128 export var piece = 'pawn' export var team = 0 +export var has_moved = false +export var in_check = false + const move_patterns = { pawn = [[0,0,0],[2,0,0],[0,0,0]] } |