adjusted gameOver method as per Gabe's request