allow dead code

This commit is contained in:
2025-02-18 15:06:51 -05:00
parent 0d0b5786a2
commit 22bc4876e5
3 changed files with 12 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ impl std::fmt::Display for Game {
}
}
#[allow(dead_code)]
impl Game {
pub fn new(player1: Box<dyn Agent>, player2: Box<dyn Agent>) -> Self {
let player1_color = player1.color();