void Start() { igameState = gameObject.AddComponent <CheckerBoard>(); igameState.GenerateBoard(blackPiecePrefab, whitePiecePrefab); igameState.isWhiteTurn = true; igameState.forcedPieces = new List <Piece>(); // test = gameObject.AddComponent<Node>(); // test.GetCurrentCheckerBoard(igameState); // test.expand(); aiMove = gameObject.AddComponent <MinimaxAIMove>(); }