Skip to content

A simple implementation of Conway's Game of Life, built using Test-Driven Development. The project focuses on creating and evolving cell grids with various initial patterns and rules.

License

Notifications You must be signed in to change notification settings

StaelTchinda/game-of-life

Repository files navigation

Game of Life

A simple implementation of Conway's Game of Life, built using Test-Driven Development. The project focuses on creating and evolving cell grids with various initial patterns and rules.

Rules

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Tools

This project was generated with Angular CLI version 17.3.11.

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run npm run generate component component-name to generate a new component. You can also use npm run generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm test to execute the unit tests via Karma. Test results can be seen under http://localhost:9876/.

Deploying

This code is configured to be deployed on GitHub Pages. Please ensure you have followed all the steps from this tutorial. After completing the steps, you can deploy the application by running: npm run deploy.

Further help

To get more help on the Angular CLI use npx ng help or go check out the Angular CLI Overview and Command Reference page.

About

A simple implementation of Conway's Game of Life, built using Test-Driven Development. The project focuses on creating and evolving cell grids with various initial patterns and rules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published