Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.5 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.5 KB

Conway's Game of Life

Overview

This project implements Conway's Game of Life, a classic cellular automaton, using HTML, CSS, and JavaScript. The goal is to provide an interactive and visually engaging representation of the Game of Life. The project emphasizes clean code practices and responsiveness for a seamless user experience.

Technologies Used

  • HTML
  • CSS
  • JavaScript (ES6)

Features

  • Interactive Grid: Click on cells to toggle between alive and dead states.
  • Game Controls: Start, stop, and clear buttons for managing the game.
  • Responsive Design: Ensures a seamless user experience across various devices.

Game Rules

The rules of Conway's Game of Life are applied, creating an engaging and dynamic evolution of the cell grid:

  1. Any live cell with fewer than two or more than three live neighbors dies.
  2. Any live cell with two or three live neighbors lives on.
  3. Any dead cell with exactly three live neighbors becomes a live cell.

Usage

  • Click on cells to toggle their state.
  • Use the "Start" button to initiate the game's evolution.
  • Stop the game at any time using the "Stop" button.
  • Clear the grid using the "Clear" button.

Live Demo

You can view a live demo of the project here.

Contributing

Contributions are welcomed! If you have suggestions for improvements or find any issues, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.