https://github.com/ponup/conways-game-of-life
PHP-SDL implementation of Conway's game of life
https://github.com/ponup/conways-game-of-life
automata cellular-automata conways-game-of-life php sdl
Last synced: about 1 month ago
JSON representation
PHP-SDL implementation of Conway's game of life
- Host: GitHub
- URL: https://github.com/ponup/conways-game-of-life
- Owner: Ponup
- License: mit
- Created: 2019-05-12T09:14:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T14:11:49.000Z (almost 6 years ago)
- Last Synced: 2025-02-06T18:45:55.943Z (3 months ago)
- Topics: automata, cellular-automata, conways-game-of-life, php, sdl
- Language: PHP
- Homepage:
- Size: 1.68 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP-SDL implementation of Conway's game of life

# Requirements
- PHP 7
- [SDL bindings for PHP](https://github.com/Ponup/phpsdl)# Usage
- Use mouse and button to draw cells in the universe
- Use `space` to start simulation
- Use `q` to quit## Start default blank universe
```sh
$ php main.php
```## Start from an example universe
```sh
$ php main.php universes/small-exploder.json
```# References
- [Wikipedia](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)