game-of-death

antagonistic game of life  https://xi.github.io/game-of-death/
git clone https://git.ce9e.org/game-of-death.git

commit
a55e61574d6bab08d0dd29124191ef93d1e5c5f9
parent
f5524f025c37e1960f582c56e5d2ec8ea2b4c01b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-01-02 09:58
disable pause in scenarios

Diffstat

M src/template.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/src/template.js b/src/template.js

@@ -59,7 +59,7 @@ const renderControls = function(state) {
   59    59             ' ',
   60    60             h('input', {type: 'hidden', value: 1, name: 'steps'}),
   61    61             ' ',
   62    -1             h('button', {'class': 'js-play'}, state.game.playing ? 'Pause' : 'Play'),
   -1    62             h('button', {'class': 'js-play', disabled: state.game.playing}, 'Play'),
   63    63             ' ',
   64    64             h('button', {'class': 'js-reset'}, 'Reset'),
   65    65             ' ',