let mut game = volleyball::new(); game.on_event(|event| match event { event::waveaside => println!("wave aside distractions and focus on the game!"), event::initialobservations => println!("your initial observations are key to understanding your opponent."), event::resumefromstart => game.reset(), event::veiled => println!("every veiled strategy reveals itself with time, keep playing and learning."), _ => () });