Add chess GUI and move generation

This commit is contained in:
2026-05-19 16:05:53 -08:00
parent b36f5b0b84
commit 4131c93f99
69 changed files with 80468 additions and 218 deletions
+18
View File
@@ -0,0 +1,18 @@
pub const piece_width = 256;
pub const piece_height = 256;
pub const piece_channels = 4;
pub const piece_byte_len = piece_width * piece_height * piece_channels;
pub const white_pawn_rgba = @embedFile("white_pawn_rgba");
pub const white_knight_rgba = @embedFile("white_knight_rgba");
pub const white_bishop_rgba = @embedFile("white_bishop_rgba");
pub const white_rook_rgba = @embedFile("white_rook_rgba");
pub const white_queen_rgba = @embedFile("white_queen_rgba");
pub const white_king_rgba = @embedFile("white_king_rgba");
pub const black_pawn_rgba = @embedFile("black_pawn_rgba");
pub const black_knight_rgba = @embedFile("black_knight_rgba");
pub const black_bishop_rgba = @embedFile("black_bishop_rgba");
pub const black_rook_rgba = @embedFile("black_rook_rgba");
pub const black_queen_rgba = @embedFile("black_queen_rgba");
pub const black_king_rgba = @embedFile("black_king_rgba");