summaryrefslogtreecommitdiff
path: root/Sprite.gd
diff options
context:
space:
mode:
authorjake <jake@jakes-mail.top>2023-02-18 16:41:27 -0500
committerjake <jake@jakes-mail.top>2023-02-18 16:41:27 -0500
commit4b9191e4819a79636ba4a68b7dd9850e622ed40f (patch)
treef123fc5cfd5e46f97396695c3d06632cfebddac2 /Sprite.gd
parentece682cacbb4300897239cd03cc427161788626e (diff)
Add en passant and castling
Diffstat (limited to 'Sprite.gd')
-rw-r--r--Sprite.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/Sprite.gd b/Sprite.gd
index 61ccf06..5e3802a 100644
--- a/Sprite.gd
+++ b/Sprite.gd
@@ -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]]
}