bomb_dodge

Crates.iobomb_dodge
lib.rsbomb_dodge
version1.0.0
created_at2025-11-11 21:37:26.310933+00
updated_at2025-11-11 21:37:26.310933+00
descriptionA simple Rust terminal car-dodging game where you control a car (๐Ÿš—) and avoid falling bombs (๐Ÿ’ฃ) using 'a', 'd', and 'w' keys.
homepage
repositoryhttps://github.com/rohithvarma/bomb_dodge
max_upload_size
id1928222
size12,423
(Rohit-Varma-1834)

documentation

README

BOMB DODGE (Rust Game)

Author: Guna Sai Rohit Varma Mulagapati Professor: Benjamin Weidner Course: Programming Languages โ€“ Rowan University Date: November 2025

Game Description:

Bomb Dodge is a small Rust terminal game where you control a car (๐Ÿš—) and try to avoid falling bombs (๐Ÿ’ฃ). You get a point every time you dodge a bomb successfully. The game ends if a bomb hits your car.

How to Play:

Type the key and press ENTER each time.

a โ†’ Move left d โ†’ Move right w โ†’ Jump across (only from left or right edge) q โ†’ Quit the game

How to Run:

  1. Open the project folder in a terminal.
  2. Run the command: cargo run
  3. Follow the on-screen instructions to play.

References:

  • Professor Weidnerโ€™s slides for Rust basics and examples.
  • Rust official documentation for syntax help.
  • ChatGPT for code structure and syntax clarity.
  • Subway Surfers (Play Store) inspired the dodge-and-switch idea.

Acknowledgment:

I referred to Professor Weidnerโ€™s slides and official Rust documentation for learning Rust syntax and concepts. ChatGPT helped me with structure and formatting, but all logic, gameplay, and testing were done by me.

Enjoy playing Bomb Dodge! ๐Ÿš—๐Ÿ’ฃ

Commit count: 0

cargo fmt