An implementation of the game Snake inspired by the classic Connect Four game and this gif!
This is the sourcecode for snake game at connect-snake.brahmlower.io. I'm primarily a backend developer, so my frontend code may be a little rough- feel free to open a pull request if you want to change anything :)
Using the library
You can install connect-snake via npm:
npm install git+https://github.com/bplower/connect-snake.git
There's an example html file showing how to include the project in it's current state. It's quite messy, but I'm working on cleaning it up. Proper usage and api docs coming soon to a markdown file near you!
To get started, clone the repo, install the dependencies, build the project, then serve locally via:
make setup make build make serve
When building locally, everything is compiled to the
./public folder, so any changes made to
example.js will require the project to be rebuilt.
If you found a horrible bug or would like to improve this project in some way, feel free to open a pull request or Issue. If you have questions but are less comfortable posting in a public forum, feel free to email me!