Skip to content

A clone of the popular mobile game "Stick Hero" in Java

Notifications You must be signed in to change notification settings

adityaastro2004/stick-hero

Repository files navigation

Stick Hero Game Clone

This repository contains a clone of the popular mobile game "Stick Hero". The game aims to help the hero cross by stretching a stick from one platform to another. The longer the stick, the further the hero can go. The game challenges your precision and timing skills.

Features

  • Simple and intuitive gameplay mechanics.
  • Score tracking to keep a record of your high scores.
  • Responsive design for a smooth experience on different screen sizes.
  • Engaging graphics and animations to enhance user experience.

Screenshots

Screenshot 2024-06-15 at 10 24 35 PM Screenshot 2024-06-15 at 10 24 55 PM

How to Play

  1. Click and hold to stretch the stick.
  2. Release to drop the stick and try to reach the next platform.
  3. If the stick is too short or too long, the hero will fall and the game will be over.
  4. The longer you play, the higher your score.

Installation

To run the game locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/adityaastro2004/stick-hero-clone.git
  2. Navigate to the project directory:

    Go to the main file.java file in src and run that for the game to run
    The proper path is "src/main/java/com/example/demo1/Main.java"

    cd stick-hero-clone
  3. Open the game:

    Open index.html in your web browser.

Development

This game is built using Java, JavaFX and Scene Builder. Please feel free to explore the code and make any improvements or modifications.

Contributing

If you would like to contribute to the development of this game, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Make your changes.
  4. Submit a pull request with a description of your changes.

License

This project is licensed under the MIT License.

Acknowledgments

  • Inspired by the original Stick Hero game by Ketchapp.

Enjoy the game and happy coding!

About

A clone of the popular mobile game "Stick Hero" in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages