This servers script allows players to... (your description here)
This room script has been coded with:
TypeScript Template for Haxball Servers.
Code a super-stable Haxball Server and build it in seconds.
npm install
src/
npm run build
dist/room.js
The resulting code in dist/room.js
has all the features packed and may be also run with other tools, like Haxroomie.
Haxball Servers are coded in JavaScript by default. There is an API documentation provided by the game developer.
Currently, Haxball Headless API has typings fully supported in NPM package @types/haxball-headless-browser
. After installing it the package, TypeScript will apply the definitions for development automatically.
This template makes use of it and provides:
browserify
into production ready scriptFeel free to contribute. Please have in mind, that we want to make it to be structured freely by every developer within src/
folder, so there should be no constraints introduced in this domain.