From f060a6e74503d3bc697e682235e384b4b54ea797 Mon Sep 17 00:00:00 2001 From: Richard Feistenauer Date: Sat, 1 Dec 2018 15:14:22 +0100 Subject: [PATCH] Initial commit --- .idea/WorldGeneration.iml | 11 + .idea/misc.xml | 4 + .idea/modules.xml | 8 + .idea/workspace.xml | 405 ++++++++++++++++++ images/map.png | Bin 0 -> 2190054 bytes scripts/main_ui.py | 48 +++ src/cellular_automaton/__init__.py | 0 .../__pycache__/__init__.cpython-37.pyc | Bin 0 -> 179 bytes .../__pycache__/ca_cell.cpython-37.pyc | Bin 0 -> 1074 bytes .../__pycache__/ca_grid.cpython-37.pyc | Bin 0 -> 4983 bytes .../ca_neighberhood.cpython-37.pyc | Bin 0 -> 541 bytes .../__pycache__/ca_rule.cpython-37.pyc | Bin 0 -> 733 bytes .../cellular_automaton.cpython-37.pyc | Bin 0 -> 2229 bytes src/cellular_automaton/ca_cell.py | 19 + src/cellular_automaton/ca_grid.py | 124 ++++++ src/cellular_automaton/ca_neighberhood.py | 7 + src/cellular_automaton/ca_rule.py | 13 + src/cellular_automaton/cellular_automaton.py | 54 +++ src/world_generator.py | 90 ++++ 19 files changed, 783 insertions(+) create mode 100644 .idea/WorldGeneration.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/workspace.xml create mode 100644 images/map.png create mode 100644 scripts/main_ui.py create mode 100644 src/cellular_automaton/__init__.py create mode 100644 src/cellular_automaton/__pycache__/__init__.cpython-37.pyc create mode 100644 src/cellular_automaton/__pycache__/ca_cell.cpython-37.pyc create mode 100644 src/cellular_automaton/__pycache__/ca_grid.cpython-37.pyc create mode 100644 src/cellular_automaton/__pycache__/ca_neighberhood.cpython-37.pyc create mode 100644 src/cellular_automaton/__pycache__/ca_rule.cpython-37.pyc create mode 100644 src/cellular_automaton/__pycache__/cellular_automaton.cpython-37.pyc create mode 100644 src/cellular_automaton/ca_cell.py create mode 100644 src/cellular_automaton/ca_grid.py create mode 100644 src/cellular_automaton/ca_neighberhood.py create mode 100644 src/cellular_automaton/ca_rule.py create mode 100644 src/cellular_automaton/cellular_automaton.py create mode 100644 src/world_generator.py diff --git a/.idea/WorldGeneration.iml b/.idea/WorldGeneration.iml new file mode 100644 index 0000000..3ed66be --- /dev/null +++ b/.idea/WorldGeneration.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..a2e120d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..1cba53f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..157ab9c --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,405 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + get_coordinate_from_index + print + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +