资 源 简 介
Tobago is a board game designed by Bruce Allen and published by Rio Grande Games (and several other publishers). (I am not affiliated with any of these people.)
The initial setup of the game has many random elements. This program constructs a pseudorandom board layout for you. It can be run from a command line, and soon it will be an Android app as well.
The code is Apache2-licensed meaning you can do all kinds of things with it, including steal it and use it as part of something else (like a playable on-line game!).
Example output:
```
Setup id: 3l864wxwtdxbp (pass this on the command line to see the same board setup)
Boards (first in the 11:00-3:00 position; then clockwise): [a, c, B]
Compass orientation: reversed (backwards letters N and S)
Landmarks:
Huts (h):
(3, 4) [beach]
(-3, -6) [beach]
(1, 0) [lake]
(-5, -3) [beach]
Palm trees (t):
(2, 2) [mountains]
(-2, -7) [scrubland]
(6, 6) [mountains]
Statues:
(-2, -1) [mountains], facing 7:00