1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2025-07-17 16:59:23 +00:00

Rule 34 + algo

This commit is contained in:
2017-01-02 01:39:35 +01:00
parent 1c08a861d8
commit cc955328c6
2 changed files with 77 additions and 2 deletions

View File

@ -579,11 +579,12 @@ bool * getFromRules(Matrix m, int ColPos, int RowPos, int n, int rules[]){
case 256:
bools[i] = bottomLeftRule(m, ColPos, RowPos);
break;
case 34:
case 64:
bools[i] = bottomRightRule(m, ColPos, RowPos);
break;
case 1:
bools[i] = firstRule(m, ColPos, RowPos);
break;
}
}
}