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
9b540642b391bbe414edff01d5fb3f8014b23719
parent
0ba103429a36456b903c9691430c54007fbcb8a0
Author
radow <masteroftheriddles@googlemail.com>
Date
2019-10-26 13:21
logic cleanup

Diffstat

M src/logic.js 1 -

1 files changed, 0 insertions, 1 deletions


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

@@ -21,7 +21,6 @@ export const calculateNextGen = function(state) {
   21    21         for (let y = 0; y < constants.height; y++) {
   22    22             calcBoard[p][y] = [];
   23    23             for (let x = 0; x < constants.width; x++) {
   24    -1                 if (board[y][x] === constants.GAIA) continue;
   25    24                 const friendlyNeighbors = getFriendlyNeighbors(board, x, y, p);
   26    25                 // Rules are here!
   27    26                 if (