public string Print()
{
string message = string.Format("action = {0}, observation = {1}, reward = {2} ({3}), board:",
this.Action,
this.Observation,
this.Reward,
this.Reward-3);
message = message + Environment.NewLine;
for (int r = 0; r < 3; r++) {
for (int c = 0; c < 3; c++) {
string b=":-( Fix me";
if (this.Board[r, c] == OEmpty)
b = ".";
else if (this.Board[r, c] == OEnv)
b = "O";
else if (this.Board[r, c] == OAgent)
b = "A";
else
Debug.Assert(false, "on position r/c: " + r + "/" + c + " is wrong value:" + this.Board[r, c]);
message += b;
}
message += Environment.NewLine;
}
message += Environment.NewLine;
return message;
}