add endGame method in game menu
add a new end game button in the game menu