https://github.com/coriolinus/simulated-ecology
Reddit Daily Coder 165: Simulated Ecology
https://github.com/coriolinus/simulated-ecology
Last synced: 7 months ago
JSON representation
Reddit Daily Coder 165: Simulated Ecology
- Host: GitHub
- URL: https://github.com/coriolinus/simulated-ecology
- Owner: coriolinus
- Created: 2014-06-07T09:42:49.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-08T03:01:00.000Z (about 12 years ago)
- Last Synced: 2025-02-01T04:16:21.345Z (over 1 year ago)
- Size: 203 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
simulated-ecology
=================
Reddit Daily Coder 165: Simulated Ecology
In response to http://www.reddit.com/r/dailyprogrammer/comments/27h53e/662014_challenge_165_hard_simulated_ecology_the/ .
Simulate a forest with varying and reactive quantities of trees, bears, and woodcutters.
Runs in Python 3.4.1. Test output generated with
python eco.py --edge 25 > out.txt
For the GUI, run
python ecogui.py
It takes identical command-line arguments as eco.py.