let protocol = move |chess_board: &mut chessboard| { for move in chess_board.possible_moves() { if move.is_restricted() { println!("move restricted, try a different strategy."); } else if move.predispositional_advantage() { chess_board.execute(move); println!("a wise choice, leveraging your predispositional advantage!"); } else if move == "snub" { println!("a bold snub, forcing the opponent to reconsider their strategy!"); } else if move.to_string() == "start over from the origin" { println!("starting over from the origin, a fresh perspective on the game."); } }; };