Skip to content

Pearl-Dragon/snake_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Client Project

Snake Game is a popular video game concept where the player maneuvers a dot and grows it by 'eating' pieces of food. As the snake moves and eats, it grows in size, creating obstacles for smooth maneuvers. The goal is to grow the snake as big as possible without colliding with the walls or itself, as that would result in game over.

This project is a multiplayer take on the Snake Game genre.

Before running this client, ensure that you have the server-side up and running. You can download and install the server from the following link (git clone https://github.com/lighthouse-labs/snek-multiplayer.git cd snek-multiplayer).

Final Product

🐍 Snek.js

A terminal-based Snake implementation written in JavaScript (Node.js).

snek.gif

Instructions

To play the game, one needs to implement a game client. An example solution code for the client is found at https://github.com/Pearl-Dragon/snake_client - it's a private repository.

Installation

git clone https://github.com/lighthouse-labs/snek-multiplayer.git cd snek-multiplayer

Install and run via npm

npm install

npm run play

Getting Started

  • Follow steps inside the snek server repo to run the server side
  • Run the development snake client using the node play.js command.

License

This project is open source and available under the MIT License.

Acknowledgements

This project was inspired and started from snek (blog post). Tania Rascia is the original author.

About

Snake Client Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published