https://github.com/whoabhisheksah/calibration-23-11-19
Game of Life Calibration
https://github.com/whoabhisheksah/calibration-23-11-19
Last synced: 3 months ago
JSON representation
Game of Life Calibration
- Host: GitHub
- URL: https://github.com/whoabhisheksah/calibration-23-11-19
- Owner: whoAbhishekSah
- Created: 2019-11-23T07:07:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T01:34:34.000Z (over 2 years ago)
- Last Synced: 2025-01-21T15:28:43.319Z (5 months ago)
- Language: JavaScript
- Size: 911 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Game of Life
## Problem Description
Make a program to run [Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life).
### Requirements
- Should accept an initial configuration of game given as input
- Should be able to show still lives pattern: Block, Loaf, Boat
- Should be able to run and show oscilator pattern: Toad, Pulsar, Pentadechatlon
- Should be able to run and show spaceship pattern: Glider and Lightweight Space Ship(LWSS)
- Should be able to run and show custom pattern (able to run Gosper Glider Gun)
- Don't show any errors after running the program i.e in glider should be able to automatically scale## Dev environment setup
### Prerequisites
- [NodeJS Engine v10.16.0](https://nodejs.org/en/download/)
- NPM 6.9.0### Run the Game
Step 1: Input initial configuration:
- Put you initial configuration in `input.txt`
- Grid is a [mxn] array where,
- [▦] denotes an alive cell
- [▫] denotes a dead cellStep 2: Run the game
```
npm run start
```### Run tests
```
$ npm run test
```### Check code formatting
```
$ npm run format
```### Fix code formatting
```
$ npm run format:fix
```### Check linting
```
$ npm run lint
```
Linting rules for this project are followed as per [these guidelines](https://github.com/airbnb/javascript)