public void NewTestScriptSimplePasses() { GameManagerTs Gm = new GameManagerTs(); Assert.IsTrue(Gm.isBlacksTurn); Assert.IsTrue(Gm.changeTurn); }
// Start the game public void Start() { // the player hits play game, or start whatever // code to initialize the game: // also the host is black, opponent is red Instance = this; //connect client //c = FindObjectOfType<Client>(); //if (c != null) { playerBlack = c.isHost; } //set board up board = gameObject.GetComponent <GameBoardTs>(); board.CreateBoard(); board.placeInitialPieces(); isBlacksTurn = true; changeTurn = true; }