This is a simple 2D game built using the Rust programming language and Bevy game engine. The game involves controlling a ball to collect points while avoiding obstacles.
- Ball Control: Use keyboard controls to move the ball across the screen.
- Point Collection: Gather points by reaching specific locations on the screen.
- Obstacle Avoidance: Avoid hitting obstacles to prevent losing points or ending the game.
- Scoring System: Track and display the player's score as they collect points.
- Graphics and Audio: Basic visual and audio elements to enhance the gaming experience.
To run the game, you'll need the following installed:
- Rust (stable) - Installation Guide
- Cargo (Rust's package manager)
-
Clone this repository:
git clone https://github.com/variablevar/play-ball.git
-
Navigate into the project directory:
cd play-ball
-
Run the game using Cargo:
cargo run --release
-
Use the keyboard controls (arrow keys or WASD) to move the ball and collect points while avoiding obstacles.
- Arrow keys: Move the ball in the respective directions (up, down, left, right).
- WASD keys: Alternative controls for movement (up, down, left, right).
Contributions are welcome! If you find any bugs or want to enhance the game, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.