A tech demo of a js - golang stack for building simple 2D multiplayer games.
This project is heavily inspired by TankTrouble. It currently only supports singleplayer mode but multiplayer is coming very soon.
- npm(v18.0+)/docker
- golang (1.25.7+)/docker
- Clone the repository
- Build the typescript files
- 2a (with docker) run the
build.shscript or the command inside - 2b (native npm) run
cd game && npm install --no-save && npx tsc
- 2a (with docker) run the
- Run the golang server
- 3a (with docker) run
docker compose up - 3b (native golang) run
go run .or compile and rungo build . && ./tanks
- 3a (with docker) run
- Connect on localhost:8080 (changing the port will be available in the future)