Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/billiegoose/snake-game
https://github.com/billiegoose/snake-game
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/billiegoose/snake-game
- Owner: billiegoose
- License: mit
- Created: 2018-08-19T07:23:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T04:22:35.000Z (over 6 years ago)
- Last Synced: 2024-10-06T03:24:07.088Z (3 months ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.