Added null checks for creating and joining game.

Signed-off-by: retep998 <retep998@verizon.net>