The demo template: groupn-template.zip
Presentation: pelita_2012.pdf
Documentation: http://aspp.github.com/pelita/
A move into an illegal direction means a generic loss of vitality which in this game is called a ‘timeout’. ⇒ Avoid illegal moves just as you would avoid timeouts.
Let’s say you cloned pelita to:
/home/student/school/pelita/
And your group’s repository is in:
/home/student/school/groupN/
with tests in:
/home/student/school/groupN/test/
You can then run a game from inside (`/home/student/school/pelita/`) using:
$ ./pelitagame ../groupN/
and:
$ ./pelitagame ../groupN/:alternate_factory
Tests should also be done from inside the pelita repository:
$ nosetests ../groupN/
or
$ PYTHONPATH=. py.test ../groupN/
(Both nosetests and py.test use autodiscovery to find your tests.)