- Introduction
- Features
- Getting Started
- Usage
- Game Controls
- Extra Features
- Contributing
- License
- Acknowledgments
Welcome to Centipede, a modernized version of the classic arcade game! This project is built in C++ using the Simple and Fast Multimedia Library (SFML) for an enhanced gaming experience. The game aims to retain the nostalgic charm of the original Centipede while introducing a better UI and additional features.
- Improved user interface
- Classic Centipede gameplay
- New Background and Level Based Game Play
- Sound effects and background music
Before you begin, ensure you have the following installed:
- C++ compiler
- SFML library
-
Clone the repository:
git clone https://github.com/msaeedsaeedi/Centipede-Game.git
-
Build the project:
cd centipede-game g++ -o centipede main.cpp -lsfml-graphics -lsfml-audio -lsfml-window -lsfml-system
-
Run the game:
./centipede
Launch the game and start playing! Use the arrow keys to navigate and the Z to shoot. Aim for a high score and challenge your friends to beat it!
- Arrow Keys: Move the player
- Z: Shoot
Dive into an enriched gaming experience with these additional features:
-
Centipede Mushroom Eating: Devour mushrooms as the centipede moves, altering its appearance.
-
Head's Generation: Witness the dynamic generation of centipede heads, creating a visually engaging gameplay experience.
-
Mushrooms Increase on Every Level: Each level introduces a growing number of mushrooms, escalating the challenge.
-
Nine Exciting Levels: Progress through a total of 9 levels, each with its unique set of challenges and obstacles.
-
Poisonous Mushrooms in Player Area: Beware of poisonous mushrooms in your territory, adding strategic depth to the game.
-
Centipede Speed Increase on Each Level: Brace yourself for increasing speed challenges as you advance through the levels.
-
Random Entering Position of Centipede: Experience unpredictability with the centipede entering the game at random positions.
-
Cheat Keys: Uncover secret cheat keys for a variety of in-game advantages. Can you find them all?
If you'd like to contribute to the project, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a pull request
This project is licensed under the MIT License.
- Special thanks to the creators of the original Centipede game for inspiring this project.
- Thanks to the SFML development team for providing a fantastic multimedia library.