diff --git a/examples/rule_184/configuration.json b/examples/rule_184/configuration.json new file mode 100644 index 0000000..83d2482 --- /dev/null +++ b/examples/rule_184/configuration.json @@ -0,0 +1,6 @@ +{ + "num_states": 2, + "num_cells": 15, + "world_initialisation" : "0 0 0 0 0 0 0 1 0 0 0 0 0 0 0", + "rules_file_name": "examples/rule_184/rules.json" +} \ No newline at end of file diff --git a/examples/rule_184/rules.json b/examples/rule_184/rules.json new file mode 100644 index 0000000..bf6d77f --- /dev/null +++ b/examples/rule_184/rules.json @@ -0,0 +1,14 @@ +{ + "name": "Rule 184", + "num_states": 2, + "rules": [ + {"neighborhood": [0, 0, 0], "next_state": 0}, + {"neighborhood": [0, 0, 1], "next_state": 0}, + {"neighborhood": [0, 1, 0], "next_state": 0}, + {"neighborhood": [0, 1, 1], "next_state": 1}, + {"neighborhood": [1, 0, 0], "next_state": 1}, + {"neighborhood": [1, 0, 1], "next_state": 1}, + {"neighborhood": [1, 1, 0], "next_state": 0}, + {"neighborhood": [1, 1, 1], "next_state": 1} + ] +} \ No newline at end of file