Find a file
Harald Hoyer 0a5382187e feat: initial commit
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-29 10:58:19 +01:00
src feat: initial commit 2025-03-29 10:58:19 +01:00
.envrc feat: initial commit 2025-03-29 10:58:19 +01:00
.gitignore feat: initial commit 2025-03-29 10:58:19 +01:00
.goosehints feat: initial commit 2025-03-29 10:58:19 +01:00
Cargo.lock feat: initial commit 2025-03-29 10:58:19 +01:00
Cargo.toml feat: initial commit 2025-03-29 10:58:19 +01:00
CLAUDE.md feat: initial commit 2025-03-29 10:58:19 +01:00
flake.lock feat: initial commit 2025-03-29 10:58:19 +01:00
flake.nix feat: initial commit 2025-03-29 10:58:19 +01:00
README.md feat: initial commit 2025-03-29 10:58:19 +01:00

bglga

This project is a simple Galaga-like space shooter game built using the Bevy engine.

Current State

The game features:

  • A player ship at the bottom of the screen that can move left and right
  • Shooting bullets upward using the spacebar or up arrow key
  • Enemy ships that spawn at the top and move downward
  • Collision detection between bullets and enemies

Controls

  • Move Left: A key or Left Arrow
  • Move Right: D key or Right Arrow
  • Shoot: Spacebar or Up Arrow

How to Compile

nix develop --command bash -c "cargo build"

How to Run

  1. Make sure you have Rust and Nix installed.
  2. Clone the repository.
  3. Navigate to the project directory.
  4. Run the game using the command: nix develop --command bash -c "cargo run"