### **Project Title: Car Wars Robotics Competition 2D Demo Game**
#### **Project Overview:**
Car Wars is a 2D demo game created as part of the Fast & Furious Robots 3.0 competition held at [INSAT](https://insat.rnu.tn/) in 2020. This game was developed to illustrate the rules and objectives of the Car Wars robotics competition, offering participants a clear understanding of the game mechanics and the challenges they would face. The project uses JavaScript, leveraging the [p5.js](https://p5js.org/) and [matter.js](https://brm.io/matter-js/) libraries to create an engaging simulation of the competition environment.
#### **Stages of Development:**
1. **Conceptualization and Planning:**
- The project was initiated to provide a visual and interactive demonstration of the Car Wars robotics competition, helping participants to grasp the competition's goals and rules.
- Initial planning involved outlining the key gameplay mechanics, car controls, and scoring system that would simulate the real-world competition.
2. **Game Development:**
- Developed the game using **JavaScript**, with a focus on simplicity and accuracy to mimic the competition's actual scenarios.
- Utilized **p5.js** to handle the graphical representation of the game, ensuring smooth and responsive visuals that are easy to understand.
- Incorporated **matter.js** for physics simulation, allowing realistic car movements, collisions, and interactions within the game environment.
3. **Game Mechanics:**
- Implemented controls for two cars, RED and BLUE, allowing players to maneuver their vehicles using designated keys.
- Designed a scoring system where players could simulate scoring points by pressing a designated GREEN button within the game.
- Included a reset function, activated by pressing the PURPLE button, enabling players to restart the game and practice multiple rounds.
#### **Tasks Performed:**
- Designed the game’s user interface and environment using p5.js, focusing on clarity and ease of use.
- Programmed car movements and interactions using matter.js to replicate real-world physics within the game.
- Developed the scoring and reset functionalities to provide a complete and interactive experience for users.
#### **Final Outcome:**
Car Wars successfully serves as an educational tool for participants of the Fast & Furious Robots 3.0 competition, providing a hands-on way to understand and practice the competition rules. The game’s accurate simulation of car movements and interactions offers an immersive experience that prepares players for the actual robotics competition.
#### **Supporting Files and Evidence:**
- **GitHub Repository:** https://github.com/Crymfo...
- **Game Demo:** http://car-wars.atspace.t...
اسم المستقل | Sameur B. |
عدد الإعجابات | 0 |
عدد المشاهدات | 5 |
تاريخ الإضافة |