Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/team142/gg
An in-browser multiplayer tank battle game
https://github.com/team142/gg
babylonjs docker game gradle java javascript rollup spring spring-boot velociraptors websocket
Last synced: about 1 month ago
JSON representation
An in-browser multiplayer tank battle game
- Host: GitHub
- URL: https://github.com/team142/gg
- Owner: team142
- License: mit
- Created: 2017-12-15T15:40:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T07:10:43.000Z (about 6 years ago)
- Last Synced: 2024-08-05T09:14:09.906Z (5 months ago)
- Topics: babylonjs, docker, game, gradle, java, javascript, rollup, spring, spring-boot, velociraptors, websocket
- Language: Java
- Homepage:
- Size: 22.2 MB
- Stars: 21
- Watchers: 9
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Good Game - A game with no name
[![Build Status](https://travis-ci.org/team142/gg.svg?branch=master)](https://travis-ci.org/team142/gg)
[![Docker Pulls](https://img.shields.io/docker/pulls/team142/gg.svg?maxAge=86400)](https://github.com/team142/gg)
[![](https://images.microbadger.com/badges/image/team142/gg.svg)](https://microbadger.com/images/team142/gg "Get your own image badge on microbadger.com")
[![](https://images.microbadger.com/badges/version/team142/gg.svg)](https://microbadger.com/images/team142/gg "Get your own version badge on microbadger.com")
[![Github Issues](http://githubbadges.herokuapp.com/team142/gg/issues.svg?style=flat)](https://github.com/team142/gg/issues)
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat)](http://badges.mit-license.org)The goal of this project is to build an MMO tank game implemented in JS with Babylon.js and Java.
## Setup for development
- Install Java 8
- Install Docker
- Install rollup `npm install rollup -g`
- Install uglify-es `npm install uglify-es -g`
- Install an http file server `npm install http-server -g`
- Install gradle (ensure gradle is in path)## Running the client only
- Install rollup `npm install rollup -g`
- Install an http file server `npm install http-server -g`
- Go to the client directory `cd client/`
- Run `http-server`
- Navigate to http://localhost:8080
- For the server drop-down, select team142.co.za## Running the client & the 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.
### Build and run locally in docker (easy and fast)
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.
### Build and run in your own Java servlet container
Run `gradle bootRun`. Deploy the resulting war to a JEE 8 compliant web container running Java 8.