š§ Escape-The-Cave: A Java-Based Adventure Game
Escape-The-Cave is a Java-based adventure game where players navigate through a cave, avoiding obstacles and enemies to reach the exit. The game features a graphical user interface (GUI) with a main menu, game area, and sidebar. The game logic is handled by the Videogioco class, which provides a foundation for the game's mechanics, including player movement, monster movement, and game state management.
š Features
- Graphical user interface (GUI) with a main menu, game area, and sidebar
- Game logic handled by the
Videogiococlass - Player movement and monster movement
- Game state management, including pausing and resuming the game
- Audio playback for menu music and game sound effects
- Support for loading saved games
š¦ Installation
To install the game, follow these steps:
- Clone the repository using Git:
git clone https://github.com/your-username/Escape-The-Cave.git - Navigate to the project directory:
cd Escape-The-Cave - Compile the Java code:
javac core/*.java model/*.java gui/*.java - Run the game:
java core.Main
š» Usage
To play the game, follow these steps:
- Run the game using the command
java core.Main - Select a map from the main menu
- Start the game by clicking the "Gioca" button
- Use the arrow keys to move the player
- Avoid obstacles and enemies to reach the exit
š Project Structure
Escape-The-Cave/
āāā core/
ā āāā Main.java
ā āāā Videogioco.java
āāā model/
ā āāā BaseEntita.java
ā āāā Caverna.java
ā āāā Prigioniero.java
āāā gui/
ā āāā MenuPrincipale.java
ā āāā GiocoGUI.java
āāā resources/
ā āāā audio/
ā āāā images/
šø Screenshots
Main Menu

