This is a simple adventure game project implemented in Java. The game allows players to explore a virtual world, interact with objects, and engage in combat.
adventure-game
├── src
│ ├── main
│ │ ├── java
│ │ │ ├── AdventureGame.java
│ │ │ ├── Game.java
│ │ │ └── Player.java
│ │ └── resources
│ │ └── game.properties
├── .gitignore
├── build.gradle
└── README.md
- Java Development Kit (JDK) 8 or higher
- Gradle 6.0 or higher
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd adventure-game
- Build the project using Gradle:
./gradlew build
- Run the game:
java -cp build/libs/adventure-game.jar AdventureGame
- Player movement and actions
- Combat system
- Game state management
Game settings and messages can be configured in the src/main/resources/game.properties
file.
This project is licensed under the MIT License. See the LICENSE file for more details.