Skip to content

Express server for relaying information between mobile devices for the game Pac Macro.

License

Notifications You must be signed in to change notification settings

pacmacro/pm-server-node

Repository files navigation

Pac Macro Server (Node.js, TypeScript, and Express)

License

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.

System Architecture diagram

API Documentation

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.

Credits

This project is brought to you in part by:

Mobify logo

  • Mobify, a sponsor of this Pac Macro implementation
  • Andy Lumb (alumb), the original creator of Pac Macro with the SFU CSSS

Setup

For NodeJS and npm

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

For TypeScript

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!

Note:

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

About

Express server for relaying information between mobile devices for the game Pac Macro.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published