Refactor game.coffee File to Be More DRY