Closed yichuan66 closed 5 years ago
Whether the direction can be set to new direction shouldn't be determined by current_direction == opposite(new_direction). It should be determined by the snake body layout on the board.
Whether the direction can be set to new direction shouldn't be determined by current_direction == opposite(new_direction). It should be determined by the snake body layout on the board.