Move.value: Option<i32> -> i32

This commit is contained in:
2025-03-26 17:58:22 -04:00
parent b414e39410
commit 672a523fd1
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ pub struct Move {
pub children: Vec<usize>,
/// Value of this move (including children)
pub value: Option<i32>,
pub value: i32,
/// What is the inherit value of this move (not including children)
pub self_value: i16,
@@ -40,7 +40,7 @@ impl Move {
winner: board.game_winner(),
parent: None,
children: Vec::new(),
value: None,
value: i32::MIN,
color,
is_trimmed: false,
self_value: 0,