/HyperBout

Primary LanguageJavaScript

Hyper Bout

Hyper Bout Char

Prerequisites

You need to already have installed nodejs on your machine. http://nodejs.org/download/

How to Run

  • Open up Node.js Command Prompt and change to directory of game

Screenshot 1

  • Start the HyperBout server by typing in “node ServerBout.js”

Screenshot 2

  • Go into the public folder and open up the index.html file in both firefox and chrome

Screenshot 3

  • Players can see both each other’s movements (however only box2d draw on the local player, not remote players)

Screenshot 4

Server Side Folders Instruction

Folders and Files

List of Folders:

  • / (root)
    • Contains all files needed to run on the server
  • Examples:
    • Contains example projects that the team looks at for ideas. (Currently has basic Node game you can run with Code Source for explanation)
  • node_modules:
    • Contains socket.io library [No need to touch]
  • public:
    • Contains files that will be run on the user's machine
  • archive:
    • contains files of older versions that are no longer in use

JS Files:

  • ServerBout.js:
    • Starting node application js file
  • ServerPlayer.js:
    • Player class of whose data will be sent from client to/from host