An in-browser multiplayer tank battle game
The goal of this project is to build an MMO tank game implemented in JS with Babylon.js and Java.
npm install rollup -g
npm install uglify-es -g
npm install http-server -g
npm install rollup -g
npm install http-server -g
cd client/
http-server
For the server you will need Java 8, gradle (in path) and docker. There are two ways you can run the the project:
You will now be running the client locally and connecting to the shared development server.
Run ./run.sh
or ./run.bat
. This will remove any references to the docker image in your local registry, use gradle to build the jar, build a docker image and run the image exposing the application locally on port 8080. See the source of those files for more details.
Run gradle bootRun
. Deploy the resulting war to a JEE 8 compliant web container running Java 8.