Skip to main content
  1. Projects/

sniper

·125 words·1 min
Jake Roggenbuck
Author
Jake Roggenbuck
I am currently studying Computer Science

Sniper #

sniper-game

Overview #

Sniper is a very simple game where you run from an adversary which tries to shoot you, but you can collect the bullets and fire them back to gain score.

Build #

Dependencies #

Make sure you have GLFW installed:

GLFW Install Instructions

Arch Linux #

sudo pacman -S glfw-x11

Debian/Ubuntu #

sudo apt install libglfw3 libglfw3-dev

Windows #

Download a pre-compiled binary from the GLFW website.

macOS #

Install from Homebrew:

brew install glfw

Or download a pre-compiled binary from the GLFW website.

From source #

See the instructions on the GLFW website.

Then check that OpenGL 4.1 or above is installed. You can download OpenGL from here.

Run build script #

To build, run ./scripts/build.sh (or .\scripts\build.bat on Windows).