- write your AI code in
Controller
class indummy.py
. - change
N
in./local.py
to set the number of rounds that the game is going to be played. - run
python3 ./local.py
to run the code locally forN
rounds. - run
python3 ./main.py -p1 ./dummy.py -p2 ./dummy.py
to run the code with the original kernel.
-
in the local run, the kernel, client communication is by kernel calling the
communicate()
method ofController
class indummy.py
. -
in the
main
run, kernel, client communication is via standard I/O.