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.
- 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.
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.
- 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.
- 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.
- HTML5 for markup
- CSS3 for styling and layout
- Vanilla JavaScript for interactivity, logic, and game flow
project/ โ โโโ index.html # Main HTML file โโโ style.css # All CSS styles โโโ script.js # Main game logic and interactivity โโโ README.md # Game documentation
- Clone or download the repository.
- Open
index.html
in any modern browser (Chrome, Firefox, etc.). - 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.