2 Commits

Author SHA1 Message Date
Quaternions 64e32b1010 better iter order 2026-05-19 11:43:23 -07:00
Quaternions 850bd0f8ee use i64 to avoid overflow 2026-05-19 11:43:13 -07:00
+1
View File
@@ -405,6 +405,7 @@ where
pub fn is_winnable(&self) -> Option<Vec<StateSnapshot<G>>> {
let mut state_moves = std::collections::HashMap::new();
let mut state = self.clone();
let mut i: u64 = 0;
while !state.is_win() {
// Continue existing iterator if it exists
let it = state_moves