The demo template: groupn-template.zip

Presentation: pelita_2012.pdf

Documentation: http://aspp.github.com/pelita/

Tournament

Additions / ‘Errata’

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.

How to run and test properly

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.)

 
pelita.txt · Last modified: 2012/09/10 15:24 by rike
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki