- A multiplayer snakes game using react 'flux' architecture.
- 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