/hacker-league

minimal carball on linux. fun for humans and ai!

Primary LanguageC++MIT LicenseMIT

hacker-league.mp4

Hacker League

Install

Currently only debian and arch based distros with x86_64. On other platforms you have to build it from source. Please help me build it on other platforms. Make sure vulkan drivers are installed on your machine.

curl -sL https://raw.githubusercontent.com/moritztng/hacker-league/main/install.sh | BINARIES="game" bash
cd hacker-league

Play

Use a gamepad for maximum fun

Singleplayer

./hacker-league

Multiplayer

Choose server from public server list

./hacker-league servers

Or connect to server with server-ip and server-port

./hacker-league <server-ip> <server-port>

Server

Install

curl -sL https://raw.githubusercontent.com/moritztng/hacker-league/main/install.sh | BINARIES="server" bash

Run

Specify public-ip and public-port if the server should be added to the public server list

./server <local-port> [<public-ip>] [<public-port>]

Build from source

Install dependencies

Debian

sudo apt update
sudo apt install libvulkan-dev vulkan-validationlayers-dev spirv-tools libglfw3-dev libglm-dev libeigen3-dev vim-common xxd g++ make libcurl4-openssl-dev git

Arch

sudo pacman -Syu vulkan-headers vulkan-validation-layers spirv-tools glfw glm eigen vim xxd gcc make curl git

Build

git clone https://github.com/moritztng/hacker-league.git
cd hacker-league
curl -L -o ./shaders/glslc https://github.com/moritztng/hacker-league/releases/download/glslc/glslc
chmod +x ./shaders/glslc
make debug

Community