Welcome to El Pollo Loco, an exciting browser-based 2D platformer game built primarily using JavaScript. This game is designed with object-oriented programming principles, showcasing the compelling use of JavaScript classes.
In El Pollo Loco, you step into the shoes of Pepe, fight against enemies, including the infamous "Crazy Chicken" (El Pollo Loco). The game combines fun animations, vibrant visuals, and a nice gameplay mechanics to deliver an good player experience.
- Object-Oriented Design: The game is built using JavaScript ES6 classes, allowing modularity and easy maintainability.
- Responsive Design: Optimized for desktop and mobile browsers.
- Interactive Elements: Enemies, collectibles, and obstacles to interact with during gameplay.
- Smooth Animations: Leveraging CSS for transitions and animations to enhance visual appeal.
- JavaScript: Core game mechanics, classes, and object-oriented utilities.
- HTML: Game interface and structure.
- CSS: Styling and animation effects.
- Demo: Play and test El Pollo Loco Game here: https://miles.pickull.de/projekte/pollo-loco/
-
Clone the Repository:
git clone https://github.com/pirus99/El-Pollo-Loco.git
-
Navigate to the Project Directory:
cd El-Pollo-Loco -
Open the Game in a Browser:
Simply open
index.htmlin your preferred browser to start the game. -
(Optional) Run a Local Server: For smoother performance, you can run the game on a local server. If you have Python installed, you can start a server using:
python -m http.server
Then visit
http://localhost:8000in your web browser.
- Use the arrow keys or
WASDkeys to control the protagonist. - Use
SHIFTto Sprint. - Use
Gkey to throw Bottles. - Collect items, avoid obstacles, and defeat enemies.
Contributions are welcome! If you'd like to improve the game, fix bugs, or add more levels, please:
- Fork the repository.
- Create a new branch for your feature or fix.
- Submit a pull request with a detailed explanation of the changes.
Enjoy playing El Pollo Loco, and have fun defeating the crazy chicken! 🐔