hannesbecher / MADN

Mensch ärgere dich nicht

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MADN

Mensch ärgere dich nicht

Run from command line

From parent directory: python3 -m madn

Use as package

Open python:

python3

Then import and use interactively:

>>> from madn.top import oneGame
>>> oneGame()
>>> oneGame(nPl=3, noPrint=False)

One can specify a player's tactic with tak, which is a list with values corresponding, in order, to the players' tactics. When a player can choose which piece to move, "k" means that kicking out others is prioritised. Any other value means the piece furthest ahead is prioritised. Here, players 1 and 2 are 'kickers' and players 3 and 4 are 'runners':

>>> oneGame(nPl=4, noPrint=False, tak=["k", "k", "s", "s"])

Analysing the results

There is a Juila repo called analyseMADN.

About

Mensch ärgere dich nicht

License:GNU General Public License v3.0


Languages

Language:Python 100.0%