An implementation of the game Snake inspired by the classic Connect Four game.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
.eslintrc.js
.gitignore
connect-snake.js
example.html
example.js
makefile
package-lock.json
package.json
readme.md

readme.md

Connect Snake

An implementation of the game Snake inspired by the classic Connect Four game and this gif!

Background

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 :)

example

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!

Development

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.html or example.js will require the project to be rebuilt.

Bugs/Issues/Contributions

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!