Welcome to the DRAGON NINJA an Arcade Game! 🎮 This is a Java-based game created using object-oriented programming concepts. It offers an interactive gameplay experience and follows the principles of OOPS. This version of the game is designed for 2 players.
It is a Survival Game in which Dragon Ninja fights with Karnov along with his army of Bad Dudes.
Here are some exciting screenshots from the game:
Check out the gameplay video for a sneak peek of the game: Gameplay Video
The objective of the game is to Damage your opponent and Avoid opponent's attack by navigating through the path. Each player controls a character using the following keys:
DRAGON NINJA:
-
Move Right : RIGHT ARROW KEY
-
Move Left : LEFT ARROW KEY
-
Jump : SPACE
-
Kick : K Key
-
Punch : P Key
-
HadWoken : H Key (Special Ability)
KARNOV:
- Move Right : D KEY
- Move Left : A KEY
- Jump : W Key
- Dash : Z Key
- Punch : F Key
- HadWoken : C Key (Special Ability)
Be careful not to collide with the army, as this will reduce your Health.
To get a local copy of the game, follow these steps:
- Open a terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
- Run the following command:
git clone https://github.com/Prajjwal-Chauhan/ArcadeGame_DragonNinja.git
Before running the Arcade Game, make sure you have Java Development Kit (JDK) installed on your system. You can download the latest version of JDK from the official Oracle website.
Once you have JDK installed, navigate to the cloned repository's directory using the terminal or command prompt and compile the Java source files using the following command:
javac *.java
This will compile all the Java files necessary for the game.
To start the game, follow these steps:
- Open an IDE (prefer eclipse).
- Navigate to the directory where you cloned the repository.
- Navigate to the following files to start the game:
\Arcade_DragonNinja\src\com\tt\game\canvas
- Run
SplashScreen.java
.
The game will launch, and you can begin playing.
The game requires file access to load levels, assets, and other necessary data. By default, the game looks for the files in the same directory as the GameConstants.java
file.
If you encounter any issues related to file access or need to specify a different path, you can modify the relevant parts of the code in GameConstants.java
to provide the correct file path.
The DRAGON NINJA Arcade Game is released under the GNU GPLv3.0 License. Feel free to modify and distribute the game as per the terms of the license.
We welcome contributions to improve the Arcade Game. If you have any ideas, bug fixes, or enhancements, please submit a pull request. 🙌
If you have any questions, feedback, or need support regarding the Arcade Game, please open an issue on the GitHub repository.
Enjoy the game and have fun playing with your friends! 😄🎉