A simple WebSocket-based Game of Life build with django-channels and React for exploration or educational purposes.
You need the following requirements installed on your machine:
Docker wraps all the backend: Python, Django, Redis.
NodeJS serve the frontend through webpack. I personally use nvm with a Node 6.
Run backend
# Build and run two docker containers: Redis & the django app
make run-backend
The backend will be available at http://localhost:8000
.
Run frontend
npm install # Install node dependencies
make run-frontend # Serve the web app
The frontend will be available at http://localhost:8080
.
Redux Devtools
You can use the Redux Devtools on this app.
Life fixtures
Different fixtures are available in src/backend/life/game/fixtures.py
.
You can change the default Board parameter (replace eyes
by generator
or fleet
).
This piece of code is licensed under MIT License.