Skip to content

Commit

Permalink
Add rule 184
Browse files Browse the repository at this point in the history
  • Loading branch information
be-next committed Dec 31, 2023
1 parent 9f0c459 commit 667ac46
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/rule_184/configuration.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 14 additions & 0 deletions examples/rule_184/rules.json
Original file line number Diff line number Diff line change
@@ -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}
]
}

0 comments on commit 667ac46

Please sign in to comment.