Quickstart¶
Get brkrs running on your machine in under 10 minutes.
Prerequisites¶
Before you begin, ensure you have:
Rust toolchain (1.81 or later) — Install via rustup
Git — For cloning the repository
Graphics drivers — OpenGL 3.3+ or Vulkan support
Platform-specific requirements¶
Linux (Ubuntu/Debian):
sudo apt install build-essential pkg-config libasound2-dev libudev-dev
Linux (Fedora):
sudo dnf install gcc-c++ alsa-lib-devel systemd-devel
macOS: Xcode Command Line Tools (usually pre-installed):
xcode-select --install
Windows: Install Visual Studio Build Tools with “Desktop development with C++”.
Installation¶
Clone the repository
git clone https://github.com/cleder/brkrs.git cd brkrs
Build and run
cargo run --release
The first build takes several minutes to compile dependencies. Subsequent builds are much faster.
Play!
The game starts with Level 1. Use your mouse to control the paddle.
Controls¶
Action |
Input |
|---|---|
Move paddle |
Mouse movement |
Rotate paddle |
Mouse scroll wheel |
Pause game |
ESC |
Resume game |
Left mouse click |
Toggle cheat mode (developer/test) |
|
Restart level |
|
Next level |
|
Previous level |
|
Destroy all bricks |
|
Toggle wireframe |
|
New Game Behavior¶
Selecting New Game from the Game Over screen resets the run to a clean state:
Level resets to 1
Lives reset to 3
Score resets to 0
Playing a specific level¶
To start on a different level, modify the level number in the source or use the level switcher (if available).
Levels are stored in assets/levels/ as RON files:
level_001.ron— First levellevel_002.ron— Second leveletc.
Web version¶
A WASM build is available at: https://cleder.github.io/brkrs/
No installation required — just open the link in a modern browser (Chrome, Firefox, Safari, Edge).
Next steps¶
Having issues? See {doc}
troubleshootingWant to contribute? Read the {doc}
developer-guideCurious about the architecture? Check {doc}
architecture