hacker-league.mp4
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
Use a gamepad for maximum fun
./hacker-league
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>
curl -sL https://raw.githubusercontent.com/moritztng/hacker-league/main/install.sh | BINARIES="server" bash
Specify public-ip
and public-port
if the server should be added to the public server list
./server <local-port> [<public-ip>] [<public-port>]
Currently only debian and arch based distros with x86_64. Make sure vulkan drivers are installed on your machine.
sudo apt-get install libglfw3 libcurl4-openssl-dev
sudo pacman -S glfw curl
pip install git+https://github.com/moritztng/hacker-league.git
See train_example.py
best_params = evolution_strategies(model.get_params(), fitness)
model.set_params(best_params)
def policy(observation):
return model.forward(observation)
hacker_league.play(policy) # opens the game and shows the agent playing
sudo apt update
sudo apt install libvulkan-dev vulkan-validationlayers-dev spirv-tools libglfw3-dev libglm-dev vim-common xxd g++ make libcurl4-openssl-dev git
sudo pacman -Syu vulkan-headers vulkan-validation-layers spirv-tools glfw glm vim xxd gcc make curl git
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
- Discord Server: https://discord.gg/bD2saQqdTG
- I build in public on X: https://x.com/moritzthuening