eeshangarg / COMP4770

COMP 4770 Team Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

COMP-4770 - The Knight Before

Play the non-local version

A non-local/live version of the game is hosted at http://149.248.56.80/

Trailer

The Knight Before Trailer

Installation

  1. 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
  2. Clone the repo:

    git clone https://github.com/eeshangarg/COMP4770

  3. Type: cd COMP4770/.

  4. Install all npm dependencies by running:

    npm install .

    Note that you if you already had npm installed, you might have to run npm install -g npm to upgrade to the latest npm version.

  5. You can start the game server by running:

    npm run server

    Navigate to localhost:2000 to play the game.

Running tests

  1. You can run Flow, ESLint and all unit tests by running:

    ./tools/test-all

About

COMP 4770 Team Project

License:MIT License


Languages

Language:JavaScript 96.3%Language:HTML 1.9%Language:Shell 1.0%Language:CSS 0.8%