Skip to content

Harry-Leslie/Conways-Game-of-Life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Conway's Game of Life

Welcome to the Conway's Game of Life implemented in ReactJS!

Table of Contents

Introduction

Conway's Game of Life is a cellular automaton devised by mathematician John Conway. The game is a zero-player game, meaning 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.

This project is a ReactJS implementation of the Game of Life, allowing users to create and manipulate the game board, start and stop the simulation, and observe the patterns that emerge.

Features

  • Create custom initial configurations.
  • Control the simulation with start, stop, and reset buttons.
  • Adjust the speed of the simulation.
  • Responsive design for mobile and desktop usage.

Installation

To get a local copy up and running, follow these simple steps:

Prerequisites

Make sure you have npm and Node.js installed. You can download them from Node.js official website.

Clone the repository

git clone https://github.com/Harry-Leslie/Conways-Game-of-Life.git cd Conways-Game-of-Life

Install Dependancies

npm install

Start Application

npm start

The application will start on http://localhost:3000.

Usage

Clone the repository and follow the installation steps. Open your browser and navigate to http://localhost:3000. Use the grid to create an initial configuration by clicking on cells to toggle them between alive and dead states. Use the control buttons to start, stop, and reset the simulation. Adjust the speed of the simulation using the speed control slider.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

Fork the Project.

Create your Feature Branch (git checkout -b feature/AmazingFeature). Commit your Changes (git commit -m 'Add some AmazingFeature'). Push to the Branch (git push origin feature/AmazingFeature). Open a Pull Request.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

React Conway's Game of Life - Wikipedia

About

Conways Game of Life in Javascript/ReactJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published