A non-local/live version of the game is hosted at http://149.248.56.80/
-
Make sure you have Node (and
npm
), MongoDB and Git installed:-
Node installation instructions. We used these instructions for Ubuntu:
# Using Ubuntu curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - sudo apt-get install -y nodejs
-
MongoDB installation instructions. We used these instructions for Ubuntu (these might change based on whether you're using Bionic or Xenial):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list sudo apt-get update sudo apt-get install -y mongodb-org
-
Git installation instructions. We used these instructions for Ubuntu:
sudo apt install git-all
-
-
Clone the repo:
git clone https://github.com/eeshangarg/COMP4770
-
Type:
cd COMP4770/
. -
Install all
npm
dependencies by running:npm install .
Note that you if you already had
npm
installed, you might have to runnpm install -g npm
to upgrade to the latestnpm
version. -
You can start the game server by running:
npm run server
Navigate to localhost:2000 to play the game.
-
You can run Flow, ESLint and all unit tests by running:
./tools/test-all