Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/is-it-ayush/cellular-automata

Just another convey's game of life.
https://github.com/is-it-ayush/cellular-automata

gameoflife parcel tailwind typescript

Last synced: 13 days ago
JSON representation

Just another convey's game of life.

Awesome Lists containing this project

README

        

> Visit: [gameoflife.isitayush.dev](https://gameoflife.isitayush.dev/)

I created this repository just to test out [p5.js](https://p5js.org/) &
see if I can do something cool with it. This code is licensed under the MIT
license. Feel free to do whatever you want with the code. You can find a copy
of the license in the [LICENSE.md](LICENSE.md) file. 🖤

### Todo

- [x] Setup the repo & the project.
- [x] Play with basic rendering & shapes.
- [x] Write convey's game of life! My first cellular automaton that is also turing complete! : )
- [x] Add mobile support.
- [x] Switched from an array to a map for storing the state of the cells.
- [x] Added light/dark mode.
- [x] Shift controls to bottom.
- [ ] Let the user choose the initial state of the game of life.

### Develop

1. `git clone https://github.com/is-it-ayush/p5-playground.git`
2. `pnpm install`
3. `pnpm dev`

> I'm using [parcel](https://parceljs.org/) to build the project. Refer
> to the parcel docs for more info.

### Commands

| Command | Description |
| ---------------- | ---------------------------------------------------------- |
| `pnpm dev` | Start parcel's development server |
| `pnpm build` | Build the project |
| `pnpm serve` | Serve the build directory |
| `pnpm clean` | Clean the build directory |
| `pnpm clean:all` | Clean the build directory, node_modules, and parcle cache. |