implement rematch
move game type independ calls outside if()