Noëlle Anthony 2044cc436c Updated README | преди 7 години | |
---|---|---|
README.md | преди 7 години | |
procgen.py | преди 7 години |
Basic proof of concept for a “cellular automata” model. No real refinement at this point.
Initial work based on this tutorial.
It takes the following flags:
If you use --out, width and height are in pixels.
If you don’t, height is lines of text, and width is measured in chunks of two characters; “--width 40” will produce a map 80 characters wide. This is because each “wall” cell is represented by a double I character and each “empty” cell is represented by a double space; in the font the developer uses, this makes maps where width and height are the same roughly square.