new render method #8

Merged
gator merged 9 commits from dev into master 2022-12-20 16:35:51 +01:00
Showing only changes of commit 75caa2054f - Show all commits

View File

@ -181,7 +181,7 @@
async draw2dNew() {
if (!this.canDraw) return;
const initialState = this.randomInitialState();
let board = evolve2d(initialState, this.selectRules);
let board = evolve2d(initialState, this.selectedRules);
if (this.loop) return this.draw2dNext(board);
else this.draw2d(board);
this.toggleStop();