pablorc/snaaake

View on GitHub
README.md

Summary

Maintainability
Test Coverage
[![Build Status](https://travis-ci.org/pablorc/snaaake.svg?branch=develop)](https://travis-ci.org/pablorc/snaaake) [![Code Climate](https://codeclimate.com/github/pablorc/snaaake/badges/gpa.svg)](https://codeclimate.com/github/pablorc/snaaake)

# Snake? Snaaaaaake!

Just a simple Snake game for your browser

It's not yet complete, but is playable _somehow_.

## Why?

This is only a playground to get React and Redux working. And I always wanted to code a Snake game!.

## How to play

Check it out [here](http://pablorc.github.io/snaaake/).

### From the source

1. Clone the code
1. `npm install`
1. `npm run server`
1. Open it at http://localhost:8080/webpack-dev-server/www
1. Click inside the browser page to get focus

## Controls

- Arrows
- WASD
- Vim movement controls (HJKL)
- _R_ to restart

## Next steps

- ~~Basic styles~~
- ~~Snake movement~~
- ~~Eat food~~
- ~~Growing up~~
- ~~Detect collisions against walls~~
- ~~Basic scoring~~
- ~~Vim controls~~
- ~~Better styles~~
- ~~Landing page~~
- ~~Detect collisions against the snake itself~~
- ~~Better Game Over page~~
- ~~Restart option~~
- ~~Deploy it!~~

## Next next steps

- Power ups
- Multiplayer support
- Complex mazes
- Adjust velocity
- Leaderboards
- Nibbler mode

## Contribute

Sure! Feel free to clone and hack whatever you want. I'm open to PRs, don't be shy!

## And remember...

![After playing for a long time, you shoud get some rest too.](https://pablorc.es/files/snake_rest.jpg)