Skip to content

raiRaiyan/Snakes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snakes

  • A multiplayer snakes game using react 'flux' architecture.

How to set it up.

  • Have NodeJS installed on your machine. Version 5.9.1 or higher
  • Have R installed version 3.2.2 or higher - link
  • Install the Rcpp package inside R. - install.packages("Rcpp")
  • Install the required R library for the game. - install.packages("~/path/to/bareSnakes.tar.gz",repos=NULL,type="source") or do it using Rstudio 😄

The package is inside the server folder in the git repository

  • Clone this repository - git clone https://github.com/rairaiyan/snakes.git
  • Navigate into the project
  • Run the following command to install all the dependencies- npm install
  • Run the following command to start the game - npm run build

Open the browser and navigate to localhost:8081

Enjoy!!

Note: For windows, you should have R set in the environment variables

About

A multiplayer snakes game using react 'flux'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published