Separated game_handler out to a different file for use by other games.