- Online: Play directly in your browser here. Note: Chrome is highly recommended due to better performance.
- Desktop: Download the desktop version. Note: Ensure the game executable is next to the "assets" folder before running.
- Aim to achieve the highest PS (Passed Sectors count) possible.
Marked by MS (Movement Speed) variable. Increases with each passed sector as simulation accelerates.
You fly automatically.
To avoid obstackles jump.
Tip: Do it interchangably using all functional buttons.
- Keyboard – click
<space>
button. - Mouse – click
<left button>
. - Touch screen – touch anywhere on the game viewport.
- Go to the folder where you want to install (put) the game.
- Use the following bash commands:
These obviously requires having these bash commands installed.
git clone github.com/siiir/brick_bird cd brick_bird git switch stable cargo build --release
- When you want to run the game:
- go to instalation folder
- enter command
cargo run -r
- Ask AI model for help. Show it this README.md file & "Cargo.toml" file. It should help you to compile this project with best optimizations. These improvements are neither obvious nor necessary for everyone.
- See build profiles in "Cargo.toml".
- Go to the folder where you want to install (put) the game.
- Use the following bash commands:
These obviously requires having these bash commands installed.
git clone github.com/siiir/brick_bird cd brick_bird git switch web-stable
- When you want to run the game:
- Serve the game using a static file server
Using Node.js http-serverOr using Python3http-server . -p 8000
python -m http.server 8000
- Access the game in a browser at
https://localhost:8000
.
- Serve the game using a static file server
Documentation for all Rust's "items" used/defined in this project outside of "main.rs".
{collisions, gravity, acceleration, turbulence} have been coded from scrath using math.
Will utilize all your cores, when running outside of browser. ECS design allows this game to scale with number of CPUs.
- Highly modular and scalable architecture.
- Leverages unique capabilities of the Rust programming language.
- Developed entirely through coding without the use of any graphical editors.