samples/06_save_load/01_save_load_game/app/main.rb
# Creates empty collection called highlights.
# Calls methods necessary to run the game.
Creates empty collection called highlights.
Calls methods necessary to run the game.
Creates empty collection called highlights . Calls methods necessary to run the game .
def tick
    state.layout.highlights ||= []
    game.tick if game.should_tick?
    render
    process_input
  end
def tick state . layout . highlights ||= [ ] game . tick if game . should_tick? render process_input end
Creates empty collection called highlights.
Creates empty collection called highlights .