From 390c95df309d3d304c3778d3b7e48907ae7615dd Mon Sep 17 00:00:00 2001 From: Richard Feistenauer Date: Sat, 1 Dec 2018 20:37:18 +0100 Subject: [PATCH] new cellular automaton --- .idea/WorldGeneration.iml | 11 - .idea/misc.xml | 4 - .idea/modules.xml | 8 - .idea/workspace.xml | 405 ------------------- scripts/main_ui.py | 19 +- src/cellular_automaton/ca_cell.py | 24 +- src/cellular_automaton/ca_grid.py | 170 +++----- src/cellular_automaton/ca_neighberhood.py | 7 - src/cellular_automaton/ca_neighborhood.py | 64 +++ src/cellular_automaton/ca_rule.py | 16 +- src/cellular_automaton/cellular_automaton.py | 58 ++- src/world_generator.py | 90 ----- 12 files changed, 193 insertions(+), 683 deletions(-) delete mode 100644 .idea/WorldGeneration.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/workspace.xml delete mode 100644 src/cellular_automaton/ca_neighberhood.py create mode 100644 src/cellular_automaton/ca_neighborhood.py delete mode 100644 src/world_generator.py diff --git a/.idea/WorldGeneration.iml b/.idea/WorldGeneration.iml deleted file mode 100644 index 3ed66be..0000000 --- a/.idea/WorldGeneration.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index a2e120d..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 1cba53f..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 157ab9c..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - get_coordinate_from_index - print - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -