Prototype server written in Node.js, TypeScript and Express for relaying information between mobile devices for the game Pac Macro.
The official specification for the game can be found here.
For comprehensive and clear documentation, see the wiki from the Java implementation.
For example calls using cURL, see the directory api-calls/ from the Java implementation.
This project is brought to you in part by:
- Mobify, a sponsor of this Pac Macro implementation
- Andy Lumb (alumb), the original creator of Pac Macro with the SFU CSSS
First install NodeJS and npm if you don't have it Download.
Once you install it, you will have to open up your terminal and type the commands below to check if it's properly installed.
npm -v # Check the current version of your npm
node -v # Check the current version of your NodeJS
You can install TypeScript by writing this command on your terminal like below, or click here Download for more informations.
npm i -g typescript # install typescript globally
Once you've install everything above, open command line or terminal and run:
npm install
npm start
Now you should see:
[INFO] Server listening on http://localhost:3000.
You can check out the website by Clicking This. Now you're done!
If you have problem install or execute those commands above because of permission especially on linux or mac, then add command sudo
in front of those commands and type in your password