fixed if/then to end game in brick breaker