Skip to content

JoshBranda/Rust-Attack-Team

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-Attack-Team Presents

🚗 🚗 🚚 🚗 CRABBER 🚚 🚗 🚗 🚚

A Rust equivalent of Frogger

About

Our game, titled "Crabber", is a Rust application based on the arcade game Frogger developed by Konami in 1981.

The object of the game is to safely guide each frog from the bottom of the screen to one of the empty cubbies at the top of the screen. To do so, the player must navigate around the traffic in the road and use objects floating in the river to cross it without touching the water. If the player fails to do either of these tasks, the frog dies and a life is lost. Once all 3 lives are lost, the game is over. Otherwise, if the player can successfully fill each cubby with a frog, the player wins the game.



No crabs were harmed in the making of this application.

Getting Started

Prerequisites

  1. Follow these instructions to install therustup required to run a Rust application.

  2. Install the RUST-SDL2 library required to use ggez, a Rust game engine, by following these instructions.

Installation

  1. Clone the repository to your local machine with:
    git clone https://github.com/JoshSander/Rust-Attack-Team.git

  2. Using a command line tool, navigate to the directory used to clone the project.

  3. From the project directory execute the command:
    ./run.sh

Usage

Using a command line tool, navigate to the project directory and execute the command:
cargo run

V.1.0 Roadmap

First and foremost, we are interested in a functioning equivalent of Frogger. That means if you don't see the basic functionality you would by playing Frogger (which is available free online), our projects is still missing our primary benchmarks.

New Features:

  • Player controlled Crab
  • UI for gameplay: Lanes, grass, ariver to cross, and goal cubbies
  • Traffic obstacles: cars & trucks (currently represented as rectangles of varying size)
  • River transportation: logs & turtles (currently represented as rectangles of varying size)
  • Obstacles & transportation offered at various speeds, directions, and distances between eachother
  • Collision consequence between the crab and traffic
  • Collision consequence between the crab and water
  • Success when crab makes it to an unoccupied cubby
  • Failure when crab misses cubby
  • Ability for crab to ride river transportation
  • Life counter which decrements when you die
  • Main menu UI
  • Score tracker (and a way to score points)
  • Timer
  • High score page

Stretch goals:

  • Online play option
  • Multi-player option


Built With

ggez: There are two common game building libraries for Rust: ggez and piston. We chose ggez. We relied heavily on the ggez library. We also looked at several example games available on the ggez github page for ideas on how to structure our code: https://github.com/ggez/ggez

Crates

ggez
rand

Authors

About

This is a game.... or is it?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published