Skip to content

wintermuted/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

Unit Tests

This project is an implementation of Conway's Game of Life written in Typescript.

Goals

  • Provide a succinct example of my programming skill in TypeScript vis-a-vis a known programming problem.
  • Demonstrate my understanding of Big O notation.
  • Provide myself an opportunity to learn HTML5 Canvas.

Current State

  • The rules of the Game of Life have been implemented.
    • A Dictionary is used as the primary datastructure.
    • The implementation of the core logic can be found here.
    • A class Grid can be used to start a game and step through it.
  • The game rules are backed with unit tests.
  • The game has been tested with common Still Life & Oscillator patterns.
  • A rudimentary UI built with React has been added, however it is poorly optimized. I rewrite is necessary for it to be performant with larger grids.

Technology

  • The game is implemented using Typescript.
  • Unit tests are written with Jest.
  • This project was bootstrapped with Create React App.