changed rules to ruleset for clarity

This commit is contained in:
2022-12-04 18:38:50 +01:00
parent 5927307473
commit e749132d77
5 changed files with 117 additions and 22 deletions

View File

@ -30,7 +30,7 @@
computed: {
...mapState(globalStore, {
cellProperties: "cellProperties",
rules: "rules1d",
ruleset: "ruleset1d",
refreshRate: "refreshRate",
initial1dState: "initial1dState",
drawingDirection: "drawingDirection",
@ -101,7 +101,7 @@
const initialState = this.compute1dInitialState();
const board = createBoard(
initialState,
this.rules.rules,
this.ruleset.rules,
this.boardWidth
);
this.lastBoard = Object.freeze(board);