A live coding session where I setup a game of chess from scratch with Godot 4.1, as part of my attempts to learn the game engine.
00:00 - Stream setup
03:30 - Rendering the board on a Tilemap
15:34 - Rendering the pieces on top of the board tilemap
26:55 - Setting board position by parsing FEN
35:59 - Selecting pieces on the board tilemap
45:20 - Moving pieces on the board tilemap
01:02:14 - Pawn movement part 1
01:13:50 - Highlight possible moves
01:23:43 - Better piece selection
01:35:18 - Pawn movement part 2
01:41:03 - Rook movement
01:54:08 - Knight movement
02:03:01 - Bishop movement
02:07:18 - Queen movement
02:08:22 - King movement
2:11:14 - Closing thoughts
![](https://i.ytimg.com/vi/-7XdQnp_rh0/maxresdefault.jpg)