An attempt at a Multiplayer Pac-Man game. This project has been archived since Namco requested that the site be taken down while the project was still in beta.
Learn more about the project via this blog post or these dev log videos.
# ensure node version is correct
$ nvm use
# install dependencies
$ npm install
# run in development mode (localhost:3000)
$ npm run dev
Unit tests are implemented with Jest.
$ npm run test
You may find docker builds for each release on docker hub.
Build the docker image with
docker build -t <image-name> .
Run the docker container with
docker run <image-name>
See additional options here.
In your AWS Account, create a new IAM Role with the permissions you deem necessary. This must include Cloudformation and EC2. Refer to GitHub's docs for Configuring OpenID Connect in AWS for guidance.
See AWS Create key pairs documentation.
DockerHub is used as the artifactory for storing Docker images.
Create an access token with read/write access.
Add the following secrets via Repository settings > Secrets > Actions.
IAM_ROLE_ARN
containing your IAM Role ARN from step 1.SSH_PRIVATE_KEY
containing the value inside the keyfile generated in step 2.DOCKERHUB_USERNAME
containing your DockerHub username.DOCKERHUB_TOKEN
containing your DockerHub token.To trigger a deploy, simply commit changes to the master
branch.