Bolorama enables the classic Mac tank game Bolo to work in a post-NATpocalypse world.
cd src
CGO_ENABLED=1 go build ./cmd/bolorama
The config file is named config.txt
in the current working directory. The file format is one setting per line, in the form name=value
. At a minimum, the config file must include the hostname
setting:
hostname=bolo.astrospark.com
The name of the database file, if statistics logging is enabled. Type: string. Default: db.sqlite
Whether to enable debug logging. Type: boolean. Default: false
Whether to enable statistics logging. Type: boolean. Default: false
Period for pinging a player for game info. Can affect NAT traversal if too long. Type: integer. Default: 20
This is the hostname that will appear in the tracker game info for players to connect to. Type: string. No default.
Period for disconnecting a player for network inactivity (not game inactivity). Type: integer. Default: 60
Port number for tracker debug data. Type: integer. Default 50001
Port number for the tracker to listen on. Type: integer. Default: 50000
nc bolo.astrospark.com 5000 | tr '\r' '\n'