Skip to content

Commit 83c9036

Browse files
authored
fix: start with 4 rows of pieces
1 parent b83ab43 commit 83c9036

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/src/game.rs

+2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ fn default_board() -> Board {
7171
fill_row(&mut board, 0, Player::Black);
7272
fill_row(&mut board, 1, Player::Black);
7373
fill_row(&mut board, 2, Player::Black);
74+
fill_row(&mut board, 3, Player::Black);
7475

76+
fill_row(&mut board, BOARD_SIZE - 4, Player::White);
7577
fill_row(&mut board, BOARD_SIZE - 3, Player::White);
7678
fill_row(&mut board, BOARD_SIZE - 2, Player::White);
7779
fill_row(&mut board, BOARD_SIZE - 1, Player::White);

0 commit comments

Comments
 (0)