endgame done(server)(untested)