added gameEndedRoutine() method to GameFrame