Skip to content

Saiprakashreddy9/Ricochet_Rumble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Ricochet Rumble ๐Ÿ”ซ๐Ÿ›ก๏ธ

Ricochet Rumble is a grid-based, two-player strategy game implemented using HTML, CSS, and JavaScript. Players take turns to move their unique game pieces, fire bullets, and attempt to defeat their opponent within a time limit.

๐ŸŽฎ Gameplay Overview

  • Grid: The game board is an 8x8 grid.
  • Teams: Two teams โ€” Red and Blue.
  • Objective: Strategically position and move pieces to shoot down enemy units using cannons.

๐Ÿงฉ Game Pieces

Each piece has a shape and function:

  • ๐Ÿ”บ Triangle: Reflects bullets at angles.
  • ๐Ÿ”ท Line: May reflect or interact with bullets linearly.
  • ๐Ÿ›ก๏ธ Tank: Can absorb bullets.
  • ๐Ÿงฑ Titan: Special tank with added power.
  • ๐Ÿงจ Canon: Shoots bullets in the direction of the enemy.

๐Ÿ•น๏ธ Controls

  • Click on a piece to select it.
  • Highlighted yellow squares indicate possible moves.
  • Click on a highlighted square to move the piece there.
  • Use Pause to pause the game timer.
  • Use Restart to reload the board and reset all states.

โฑ๏ธ Turn and Timer Logic

  • Each player has 60 seconds per turn.
  • Once the timer runs out, the current player loses automatically.
  • After each move, the timer resets and control passes to the opponent.

๐Ÿง  Technologies Used

  • HTML5 for markup
  • CSS3 for styling and layout
  • Vanilla JavaScript for interactivity, logic, and game flow

๐Ÿ“ Project Structure

project/ โ”‚ โ”œโ”€โ”€ index.html # Main HTML file โ”œโ”€โ”€ style.css # All CSS styles โ”œโ”€โ”€ script.js # Main game logic and interactivity โ””โ”€โ”€ README.md # Game documentation

๐Ÿš€ How to Run

  1. Clone or download the repository.
  2. Open index.html in any modern browser (Chrome, Firefox, etc.).
  3. Play the game โ€” no additional setup or server required!
git clone https://github.com/your-username/ricochet-rumble.git
cd ricochet-rumble
open index.html

## ๐Ÿ‘จโ€๐Ÿ’ป Author

**Sai Prakash Reddy** โ€“ Student developer, NIT Trichy

---

## ๐Ÿ“ License

This project is open source and free to use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published