Commit cff63b65 authored by Yann Boucher's avatar Yann Boucher
Browse files

Fixed a bug with the GoL rulestring

parent c577176e
Pipeline #79254 canceled with stage
......@@ -18,15 +18,15 @@
}
],
"author": "JM",
"date": "jeu. juin 3 2021",
"desc": "Game of Life définit par une Totalistic rulestring",
"date": "sam. juin 5 2021",
"desc": "",
"neighborhood_data": {
"radius": 1
},
"neighborhood_name": "Von Neumann",
"neighborhood_name": "Moore",
"title": "gameoflife_rulestring",
"transition_data": {
"rule_string": "0,0:* ,1:[3]->1\n1,0:[0..1],1:* ->0\n1,0:[4..*],1:* ->0"
"rule_string": "0,0:* ,1:[3]->1\n1,1:[0..1],0:* ->0\n1,1:[4..*],0:* ->0"
},
"transition_name": "Totalistic rulestring"
}
......@@ -576,6 +576,8 @@ QJsonObject MainWindow::default_model() const
const char* json = R"(
{
"title" : "Game of Life",
"neighborhood_name" : "Moore",
"neighborhood_data" : {},
"transition_name" : "Game of Life",
"transition_data" : {},
"alphabet" : [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment