let mut game = chessgame::new(); while !game.is_over() { game.update_board(); if game.moves_until(pre_expiration) < 3 { game.deflect_threat(); } if game.is_covert_operation() { game.recommence_with_new_vision(); } game.display_board(); }