use get_auto_move in readme

This commit is contained in:
2026-05-18 14:04:58 -07:00
parent e6113b6e91
commit 37837e76c1
+1 -1
View File
@@ -14,7 +14,7 @@ let game = Klondike::with_seed(123);
let mut session = Session::new_default(game);
// play game a bit
while let Some(instruction) = session.possible_instructions().next() {
while let Some(instruction) = session.state().get_auto_move() {
session.process_instruction(instruction);
// quit after 1000 moves