startGame: Start a new game

Description Usage Value Examples

Description

This function starts a new game. It randomly assigns a starting player and returns a new game state object.

Usage

1

Value

gameState A new gameState.

Examples

1

Example output



rt3 documentation built on May 2, 2019, 6:38 a.m.