Git Product home page Git Product logo

centipede-game's Introduction

Centipede Game

Table of Contents

Introduction

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.

Features

  • Improved user interface
  • Classic Centipede gameplay
  • New Background and Level Based Game Play
  • Sound effects and background music

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • C++ compiler
  • SFML library

Installation

  1. Clone the repository:

    git clone https://github.com/msaeedsaeedi/Centipede-Game.git
  2. Build the project:

    cd centipede-game
    g++ -o centipede main.cpp -lsfml-graphics -lsfml-audio -lsfml-window -lsfml-system
  3. Run the game:

    ./centipede

Usage

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!

Game Controls

  • Arrow Keys: Move the player
  • Z: Shoot

Extra Features

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?

Contributing

If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a pull request

License

This project is licensed under the MIT License.

Acknowledgments

  • 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.

centipede-game's People

Contributors

msaeedsaeedi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.