Skip to content

The Potion Hunter is a 2D adventure game where players take on the role of a wizard tasked with collecting magical potions while avoiding dangerous enemies. As players navigate the game board, they can increase their score by gathering potions, which also affects the speed and difficulty of the game.

Notifications You must be signed in to change notification settings

MathiasHandeland/Potion-Hunter-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

POTION HUNTER 2D GAME

Description

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.

Features

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

Technologies Used

  • Java
  • Swing
  • Object-Oriented Programming principles

How to Play

  1. Clone the repository to your local machine.
  2. Open the project in an IDE that supports Java.
  3. Run the Game.java file to start the game.
  4. Use the arrow keys to move the wizard and collect potions.
  5. Avoid the orc enemy to stay alive.
  6. Collect as many potions as you can to increase your score.
  7. Press 'P' to pause the game and 'SPACE' to resume.
  8. The game ends when the wizard collides with the orc enemy.
  9. When the game ends, press 'R' to restart the game.
  10. Enjoy playing Potion Hunter!

License

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.

About

The Potion Hunter is a 2D adventure game where players take on the role of a wizard tasked with collecting magical potions while avoiding dangerous enemies. As players navigate the game board, they can increase their score by gathering potions, which also affects the speed and difficulty of the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages