Fixing game over criteria