This commit is contained in:
francis 2026-03-06 20:12:38 +01:00
commit 3ea7bfd5dc
122 changed files with 568704 additions and 0 deletions

20
Scripts/Rules/knight.gd Executable file
View file

@ -0,0 +1,20 @@
extends Rule
static func ready(piece: Piece):
pass
static func select(piece: Piece, game: Game):
piece.possible_movements = [
Vector2i(-1,2),
Vector2i(1,2),
Vector2i(-1,-2),
Vector2i(1,-2),
Vector2i(-2,1),
Vector2i(2,1),
Vector2i(-2,-1),
Vector2i(2,-1),
]
pass
static func before_move(piece: Piece):
pass