game over judge logic