Skip to content

Commit

Permalink
Removed debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapsyloffer committed Feb 18, 2024
1 parent ee47e88 commit 073b30d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rules/game_tile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,9 @@ impl Tile {
//TODO: Rewrite this better.
//Aggressive move.
if aggr {
println!("aggr");
//We may not push our own rocks.
if state[new_y][new_x] == state[cur_pos.0 as usize][cur_pos.1 as usize]
|| state[step_y][step_x] == state[cur_pos.0 as usize][cur_pos.1 as usize] {
println!("own rocks");
return false;
}

Expand Down

0 comments on commit 073b30d

Please sign in to comment.