Players can cancel game before another player joins them.
minor refactoring