Game made in Rust using the Coffee crate.
A player uses WASD to move around and must avoid hitting the other player, who uses the arrow keys. The player who uses the red keys is much faster but has lower health. The objective is to hit the other play while in control until they die.
Note: Linux support requires you have installed a large amount of package prerequsites (on Ubuntu most of these can be found in
build-essential
andlibudev-dev
, however, on some distributions the list is longer)
The following script will create the binary in the /usr/bin directory:
#!/bin/bash
git clone https://github.com/logancammish/coffee-game.git
cd coffee-game
cargo build --release
sudo chmod +x ./target/release/game
sudo cp ./target/release/game /usr/bin
cd ..
rm coffee-game
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
on Unix-based systems (MacOS, Linux...)git clone https://github.com/logancammish/coffee-game.git
)cargo build --release
/target/release
Note: You can always roll back to an old release by downloading an older release
Copyright © Logan Cammish 2024
License: MIT