add live game UI with board rendering, timers, and SAN move list

This commit is contained in:
2026-02-27 12:27:02 +01:00
parent 0c3ef7da4a
commit 36727cdb24
5 changed files with 853 additions and 16 deletions
+29
View File
@@ -0,0 +1,29 @@
export const PIECE_IMAGE_PATHS = {
P: "/static/board_pieces/wp.png",
N: "/static/board_pieces/wn.png",
B: "/static/board_pieces/wb.png",
R: "/static/board_pieces/wr.png",
Q: "/static/board_pieces/wq.png",
K: "/static/board_pieces/wk.png",
p: "/static/board_pieces/bp.png",
n: "/static/board_pieces/bn.png",
b: "/static/board_pieces/bb.png",
r: "/static/board_pieces/br.png",
q: "/static/board_pieces/bq.png",
k: "/static/board_pieces/bk.png",
};
export const START_COUNTS = {
P: 8,
N: 2,
B: 2,
R: 2,
Q: 1,
K: 1,
p: 8,
n: 2,
b: 2,
r: 2,
q: 1,
k: 1,
};