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
abe7964950541faac7d0a3fdfb543e033305f605
parent
f09db0ef317d314db4c63afa7919c15cd9adfdea
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-11-01 17:09
restructure scenarios

Diffstat

R scenarios/05_symbiosis.js -> scenarios/03_symbiosis.js 2 +-
R scenarios/06_glider_01.js -> scenarios/04_glider_01.js 0
R scenarios/08_glider_02.js -> scenarios/05_glider_02.js 0
R scenarios/03_reach_01.js -> scenarios/06_reach_01.js 0
R scenarios/04_growth_02.js -> scenarios/07_growth_02.js 0
R scenarios/07_reach_02.js -> scenarios/08_reach_02.js 0
M src/scenarios.js 24 ++++++++++++------------

7 files changed, 13 insertions, 13 deletions


diff --git a/scenarios/05_symbiosis.js b/scenarios/03_symbiosis.js

@@ -4,7 +4,7 @@ const scenBoard = [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    4     4 
    5     5 export default {
    6     6     "title": "Symbiosis 1",
    7    -1     "description": "Green is an ally. Try and stabilize the green structure before it colapses.",
   -1     7     "description": "Green is an ally. Try and stabilize the green structure before it colapses. But be careful: You cannot both exist on the same cell.",
    8     8     "board": scenBoard,
    9     9     "winCondition": function(state) {
   10    10         if(logic.countPlayer(state.game.board, 3) === 0) return false;

diff --git a/scenarios/06_glider_01.js b/scenarios/04_glider_01.js

diff --git a/scenarios/08_glider_02.js b/scenarios/05_glider_02.js

diff --git a/scenarios/03_reach_01.js b/scenarios/06_reach_01.js

diff --git a/scenarios/04_growth_02.js b/scenarios/07_growth_02.js

diff --git a/scenarios/07_reach_02.js b/scenarios/08_reach_02.js

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

@@ -1,21 +1,21 @@
    1     1 import s01_survive_01 from '../scenarios/01_survive_01.js';
    2     2 import s02_growth_01 from '../scenarios/02_growth_01.js';
    3    -1 import s03_reach_01 from '../scenarios/03_reach_01.js';
    4    -1 import s04_growth_02 from '../scenarios/04_growth_02.js';
    5    -1 import s05_symbiosis from '../scenarios/05_symbiosis.js';
    6    -1 import s06_glider_01 from '../scenarios/06_glider_01.js';
    7    -1 import s07_reach_02 from '../scenarios/07_reach_02.js';
    8    -1 import s08_glider_02 from '../scenarios/08_glider_02.js';
   -1     3 import s03_symbiosis from '../scenarios/03_symbiosis.js';
   -1     4 import s04_glider_01 from '../scenarios/04_glider_01.js';
   -1     5 import s05_glider_02 from '../scenarios/05_glider_02.js';
   -1     6 import s06_reach_01 from '../scenarios/06_reach_01.js';
   -1     7 import s07_growth_02 from '../scenarios/07_growth_02.js';
   -1     8 import s08_reach_02 from '../scenarios/08_reach_02.js';
    9     9 import s09_gun from '../scenarios/09_gun.js';
   10    10 
   11    11 export default [
   12    12     s01_survive_01,
   13    13     s02_growth_01,
   14    -1     s03_reach_01,
   15    -1     s04_growth_02,
   16    -1     s05_symbiosis,
   17    -1     s06_glider_01,
   18    -1     s07_reach_02,
   19    -1     s08_glider_02,
   -1    14     s03_symbiosis,
   -1    15     s04_glider_01,
   -1    16     s05_glider_02,
   -1    17     s06_reach_01,
   -1    18     s07_growth_02,
   -1    19     s08_reach_02,
   20    20     s09_gun,
   21    21 ];