[ADD] Added logic to check game over.