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.
- 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.
- Click and hold to stretch the stick.
- Release to drop the stick and try to reach the next platform.
- If the stick is too short or too long, the hero will fall and the game will be over.
- The longer you play, the higher your score.
To run the game locally, follow these steps:
-
Clone the repository:
git clone https://github.com/adityaastro2004/stick-hero-clone.git
-
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
-
Open the game:
Open
index.html
in your web browser.
This game is built using Java, JavaFX and Scene Builder. Please feel free to explore the code and make any improvements or modifications.
If you would like to contribute to the development of this game, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes.
- Submit a pull request with a description of your changes.
This project is licensed under the MIT License.
- Inspired by the original Stick Hero game by Ketchapp.
Enjoy the game and happy coding!