This is a simple simulation of Conway's Game of Life built with Typescript with Create-React-App
This is a simple simulation of Conway's Game of Life built with Typescript with Create-React-App
See the application on Netlify
To install, run yarn run install
on the terminal.
- Yarn >= 1.5.x
- Node >=8.x
If you do not have yarn installed, here are the instructions on how to install yarn.
To install, run yarn run install
on the terminal.
To run the automated tests for this app, run yarn run test
on the terminal.
The test focuses on the behavior of the application, not the implementation of it.
it('should have a default state defined', () => {
expect(renderedComponent.state('cell_size')).toBe(20);
expect(renderedComponent.state('game_height')).toBe(600);
expect(renderedComponent.state('game_width')).toBe(800);
expect(renderedComponent.state('isGameRunning')).toBe(false);
});
To deploy, run yarn run build
and place the ./build
folder on the root of the project and place it in the server of your choice. ZThese are static files so no special configuration is needed.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details