Closed o-jill closed 2 years ago
先後交代後はnth(1)が正解。
teban = g.kifu.nth(0).teban; // <---
result = dresult.unwrap();
} else {
// prepare game
let mut g = game::Game::from(rfen);
g.start_with_2et(node::Node::think_ab, 7, &w2, &w1).unwrap();
let dresult = g.kifu.winner();
teban = g.kifu.nth(0).teban; // <---
直した。 876834ded98e7b81
bitboardのduel対応にミスったっぽいです。