Skip to content

RachBartmoss/Rust-Rover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Rover

Description

This is a simple game where the player controls a rover on a grid. The rover can thrust in 3 directions: Up, left, and right. The goal is to avoid falling asteroids and get the best score possible.

Installation

  1. Clone the repository: git clone https://github.com/your-username/game_project.git
  2. Install Rust: https://www.rust-lang.org/tools/install
  3. Build the project: cargo build

Usage

  1. Run the game: cargo run
  2. Follow the on-screen instructions to play the game.

Controls

To control the small ship, use the arrow keys, the ship's got inertia to it and you can only thrust up, left, and right. The game is over when the ship collides with an asteroid.

you can also land on the small green platforms.

Key Action
Up Thrust up
Left Thrust left
Right Thrust right
Q Quit the game
P Pause the game

Building documentation

  1. Build documentation using cargo doc
  2. Open the resulting index.html file with your browser of choice

Disclaimer

This project is a work in progress and is not yet complete. It is not recommended to use this project in a production environment.

Furthermore, the project is heavily inspired by the tutorial 'flappy dragon' from the book 'Hands-on Rust : Effective Learning through 2D Game Development and Play ' by Herbert Wolverson. The tutorial was used as a starting point to learn Rust and game development with the bracket-lib framework.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages