Package catan provides models for representing and manipulating a game of catan
Board coordinates must be specified as described in module [`hexgrid`](https://github.com/rosshamish/hexgrid).
Class Game supports undo and redo.
Supports Python 3. Might work in Python 2.
> Author: Ross Anderson ([rosshamish](https://github.com/rosshamish))
pip install catan
players = [Player(1, 'ross', 'red'),
Player(2, 'josh', 'blue'),
Player(3, 'yuri', 'green'),
Player(4, 'zach', 'orange')]
board = catan.board.Board()
game = catan.game.Game(board=board)
print(game.get_cur_player()) # -> ross (red)
See [`catan-spectator`](https://github.com/rosshamish/catan-spectator) for extensive usage.
Most classes and modules are documented. Read the docstrings! If something is confusing or missing, open an issue.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.