We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2119655 commit b83ab43Copy full SHA for b83ab43
backend/src/game.rs
@@ -57,7 +57,7 @@ pub type Board = [[Option<Piece>; BOARD_SIZE]; BOARD_SIZE];
57
fn default_board() -> Board {
58
fn fill_row(board: &mut Board, row: usize, player: Player) {
59
for i in 0..BOARD_SIZE {
60
- if (i + row) % 2 == 0 {
+ if (i + row) % 2 == 1 {
61
board[row][i] = Some(Piece {
62
type_: PieceType::Man,
63
player,
0 commit comments