adds rival to endgame
fixes bug