Skip to content

PacMacro is PacMan but played IRL. Connected players stream their geolocation, displayed on a map of SFU's UniverCity in real-time.

License

Notifications You must be signed in to change notification settings

micahdbak/pacmacro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PacMacro 2023

This repository holds the source code for the PacMacro event during CSSS Frosh Week 2023 (RETRO FROSH).

Structure

This version of PacMacro consists of a Go API that is accessed under a api/ directory, with the syntax /api/(function)/(optional: inputs). This API is interacted with and accessed through a simple and static JavaScript frontend.

Deployment

For the deployment of PacMacro, the static files can be served wherever (e.g., GitHub Pages, or with the API), so long as the api calls are properly called.

Example: Nginx on a Debian server

(To be written.)

Building

API

To build the PacMacro API, run go build ./main.go from the root directory of this repo. Start the API in a detachable terminal (e.g., tmux), and ensure that it is proxied properly.

Frontend

To build the PacMacro frontend, simply copy all files and directories under htdocs to wherever documents are served to the internet.

About

PacMacro is PacMan but played IRL. Connected players stream their geolocation, displayed on a map of SFU's UniverCity in real-time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 42.9%
  • JavaScript 40.6%
  • HTML 12.0%
  • CSS 4.5%