https://github.com/zgiber/gol
Playing around with Game of Life
https://github.com/zgiber/gol
Last synced: about 1 year ago
JSON representation
Playing around with Game of Life
- Host: GitHub
- URL: https://github.com/zgiber/gol
- Owner: zgiber
- Created: 2016-10-16T20:59:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T15:47:15.000Z (almost 6 years ago)
- Last Synced: 2023-02-26T08:24:25.862Z (over 3 years ago)
- Language: Go
- Size: 2.02 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gol
Playing around with Game of Life
## What?
It's an experimental small piece of code: a Game of life server and a simple browser client.
## How?
Clone the repository, compile `go build` then run the binary. Once the server is running, open a browser an go to http://localhost:8080 (or another port if you specified it).
In the browser moving your cursor over the canvas creates "life". Move it slowly for a better effect. Anyone connected to the server will
see the same thing and can interact with it. Unfortunately it takes quite some bandwidth to sync when there is a lot going on, so it won't work with too many clients.
## What next?
I don't really have plans with this. Maybe I'll try to save bandwidth, or come up with a smarter sync.
