I've added an Agent abstraction to sos, class Agent. Particular agents should implement the abstraction (in particular, the method selectMove). The game playing loop should use selectMove of the method.
Please do the changes.
We don't need a class for everything, this is not Java. But for me, this way seems more natural.
I've added an Agent abstraction to sos, class Agent. Particular agents should implement the abstraction (in particular, the method selectMove). The game playing loop should use selectMove of the method.
Please do the changes.
We don't need a class for everything, this is not Java. But for me, this way seems more natural.