Base for endGame