zaxoavoki / game-of-life

🦕 A simple version of Game of life

Home Page:https://game-of-life-p5js.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game of life

This page was built with p5.js.

Live example.

The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway. It is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.

Installation

  1. Download or clone repository
  2. Run npm install and npm run build
  3. Run npm run start
  4. Draw your mouse cursor wherever you want and press any key

Note:

You can change the game settings in src/config.js:

export default {
  CELL_SIZE: 20,  // Game scale
  FPS: 20         // Game speed
};

Screenshots

screen

About

🦕 A simple version of Game of life

https://game-of-life-p5js.herokuapp.com/


Languages

Language:JavaScript 92.7%Language:HTML 7.3%