methods added

methods added on how games can end