let mut chess_strategy = chessstrategy::pre_initiation(); while let some(move) = chess_strategy.next_move() { if move.diminishes_opponent() { chess_strategy.redeploy(move); } else { chess_strategy.apply_guidance(&guidance::cautious); } }