Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quackness/snake-client
https://github.com/quackness/snake-client
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/quackness/snake-client
- Owner: quackness
- Created: 2022-02-21T16:41:34.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-22T21:06:19.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T08:12:01.543Z (2 months ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake Client Project
Snake game is a very popular video game. It is a video game concept where the player maneuvers a dot and grows it by ‘eating’ pieces of food. As it moves and eats, it grows and the growing snake becomes an obstacle to smooth maneuvers. The goal is to grow it to become as big as possible without bumping into the side walls, or bumping into itself, upon which it dies.
This is simply a multiplayer take on the genre.
Before you can run this client, you will need to be running the server side which you can download and install from [here](https://github.com/lighthouse-labs/snek-multiplayer)
## Final Product
!["snake view"](https://raw.githubusercontent.com/quackness/snake-client/56ca4232a1f55b45e7f477e0660426b1858498b7/snake.png)
## Getting Started
- Follow steps inside the [snek server repo](https://github.com/lighthouse-labs/snek-multiplayer) to run the server side.
- Once the server is running, in a separate terminal run `node play.js` from the client directory.## Game Instructions
- Use following keys to move the snake:
* "w" to move up
* "a" to move left
* "s" to move down
* "d" to move right
- game cheering canned messages will be displayed after pressing following keys:
* "e"
* "x"
* "q"
- terminate the game with CTR+C
## Credits
The project was not built from scratch. The original author is [Tania Rascia](https://www.taniarascia.com/).