Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.82 KB

README.md

File metadata and controls

58 lines (35 loc) · 1.82 KB

Parallel rush

This is a JavaScript game developed with Phaser (game framework) as an university project with gomupo. I wanted to make it easier to try it out so I dockerized it. Have fun with it!

Build

To get the game started you've got two options, either running it directly with Node.js or deploying it in a Docker container

Deploying it on docker

The first time you want to try it out you need to build the docker image and create the container with it.

Prerequisites

In order to run this container you'll need docker installed.

Build the images

To build the image run:

docker build -t parallel-rush .

Run it

To start the container run:

docker run --name parallel-rush -p 3000:3000 -d parallel-rush

This will start the container in detached mode.

Stop it

To stop the container run:

docker stop parallel-rush

Restart it

The next time you want to restart the container you can run:

docker start parallel-rush

Running it with nodejs

If you already have Node.js configured in your machine you may want run it with: node app.js

Playing

There's an extensive guide covering the game's basics in the project report appendix, which can be found here

Authors

Gonzalo Muelas Pozo aka gomupo for the game assets and your part of the coding, m8 you are the mos talented guy! Iñigo Alvaro Saenz mrmooon

Aknowledgements

PurpleBooth for the README.md gist for containers.