implements end game screens