Removing the id field from the Action trait

This would in theory be useful for a transposition table, but we do not
currently support that. As such I don't want to burden the
implementation with that field until it is deemed necessary.
This commit is contained in:
2025-06-30 20:18:29 -07:00
parent a7102a0e44
commit 76051cd76b
4 changed files with 4 additions and 19 deletions
+1 -5
View File
@@ -61,11 +61,7 @@ struct Move {
index: usize,
}
impl Action for Move {
fn id(&self) -> usize {
self.index
}
}
impl Action for Move {}
/// Tic-Tac-Toe game state
#[derive(Debug, Clone)]