Potion Hunter is a fun and interactive 2D game single-player game developed by me in Java. The game is set in a magical world where the player controls a wizard who is on a quest to collect potions while avoiding the orc enemy.
- Dynamic potion spawning: Potions are spawned at random locations on the screen to make the game more challenging.
- Scoring system: The player collect potions to increase their score.
- Enemy AI behavior: The orc enemy moves towards the wizard to catch him.
- Pause and resume: The player can pause the game at any time by pressing 'P' and resume by pressing 'SPACE'.
- Life management for the wizard: The player has three lives to start with. The game ends when the wizard collides with the orc enemy.
- Java
- Swing
- Object-Oriented Programming principles
- Clone the repository to your local machine.
- Open the project in an IDE that supports Java.
- Run the
Game.javafile to start the game. - Use the arrow keys to move the wizard and collect potions.
- Avoid the orc enemy to stay alive.
- Collect as many potions as you can to increase your score.
- Press 'P' to pause the game and 'SPACE' to resume.
- The game ends when the wizard collides with the orc enemy.
- When the game ends, press 'R' to restart the game.
- Enjoy playing Potion Hunter!
Custom Game License
- You are allowed to download and play "The Potion Hunter".
- You may not copy, modify, distribute, or create derivative works from the source code.
- You may not use the game for commercial purposes.
- This game is provided "as is", without any warranties.