From 4b9191e4819a79636ba4a68b7dd9850e622ed40f Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 18 Feb 2023 16:41:27 -0500 Subject: Add en passant and castling --- Sprite.gd | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Sprite.gd') 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]] } -- cgit v1.2.3