Giter VIP home page Giter VIP logo

game-of-life-ts's Introduction

Conway's Game of Life

This purpose of this project is provide a foundation for creating Conway's Game of Life as a console application using TypeScript. This is intended to be forked and cloned rather than committed to as the code project for an interactive dojo or workshop. This project may or may not be acceptable for any purpose. Please do not use anything here as the foundation for a production application.

Setup

  1. Make sure you have Node.js installed
  2. Install Gittey
  3. Run npm install in the directory where this readme resides

Running Things

  1. Run the application: npm run start
  2. Run the tests: npm test

What's in the box?

  1. This readme
  2. License: An MIT license doc
  3. Package Configuration: A basic npm package.json
  4. Jest: A TypeScript configured Jest configuration file
  5. TypeScript Configuration: A tsconfig.json file with decorators enabled
  6. Tests: A tests directory with tests for the display code (usable as examples of automated tests)
  7. Display Module: The source code and types for the display module (in the display directory)
  8. Index TS File: An index file that throws an error

Rules of Conway's Game of Life

  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.

Helpful Resources

game-of-life-ts's People

Contributors

cmstead avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.