Conway's Game of Life is a cellular automaton devised by mathematician John Conway. It is a zero-player game that evolves based on its initial configuration and follows simple rules to create complex patterns. This project provides a visual representation of Conway's Game of Life using React.
- Clone the repository:
git clone https://github.com/aliveevie/game-of-life.git.git
- Navigate to the project directory:
cd game-of-life
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your web browser and visit:
http://localhost:3000
- Adjust the grid size and cell colors in
src/App.css
. - Click on individual cells to toggle their state (alive/dead).
- Use the controls to start, pause, and reset the simulation.
- Observe how different patterns evolve over generations.
- visit here to play
Explore various patterns that you can create or load in the grid, such as gliders, pulsars, and more. Modify the initial grid setup in the code to see different patterns in action.
Contributions are welcome! If you have any improvements, bug fixes, or new features to add, please feel free to submit a pull request.