public override void CollectObservations() { lastDiceRoll = game.GetDiceRoll(); AddVectorObs(game.gridSizeX); AddVectorObs(game.gridSizeY); AddVectorObs(game.gridSize); AddVectorObs(lastDiceRoll); AddVectorObs(piece1.CurrentPosition); AddVectorObs(piece1.CanMove(lastDiceRoll) ? 1 : 0); AddVectorObs(piece2.CurrentPosition); AddVectorObs(piece2.CanMove(lastDiceRoll) ? 1 : 0); AddVectorObs(game.GetOtherAgent(this).piece1.CurrentPosition); AddVectorObs(game.GetOtherAgent(this).piece2.CurrentPosition); //Debug.LogFormat("[Obs][A]{0} [D]:{1}", gameObject.name, lastDiceRoll); }