initCurrentGame method
void
initCurrentGame()
Implementation
void initCurrentGame() {
if (widget.game == null) {
currentGame = widget.gameFactory!.call();
widget._initializeGame(currentGame);
} else {
currentGame = widget.game!;
}
currentGame.addGameStateListener(_onGameStateChange);
_loaderFuture = null;
}