Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/billiegoose/snake-game


https://github.com/billiegoose/snake-game

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

# snake-game

I just felt like making a snake game this evening. It's ASCII, runs in the terminal.

Update: Of course, @mafintosh already has 'snake-game' on npm and his is in _color_.
And more importantly, he got the squares to be the right aspect ratio.
So I decided to replicate that look.

Which is pretty funny, because I built this using [diffy](https://www.npmjs.com/package/diffy)
which is _also_ by @mafintosh.
His snake-game is built using [clivas](https://www.npmjs.com/package/clivas) - also by @mafintosh.

My snake game is responsive (adapts to the terminal screen size) though. :grin:

# To Play

```js
npx @wmhilton/snake-game
```

Use up/down/left/right keys.