Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/is-it-ayush/cellular-automata
- Owner: is-it-ayush
- License: mit
- Created: 2023-04-02T06:02:43.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-20T10:48:00.000Z (3 months ago)
- Last Synced: 2024-10-05T21:21:09.096Z (about 1 month ago)
- Topics: gameoflife, parcel, tailwind, typescript
- Language: TypeScript
- Homepage: https://gameoflife.isitayush.dev/
- Size: 18.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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. |