Compare commits
2
Commits
74661a417d
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31ddda225b | ||
|
|
5a412956ce |
@@ -1,4 +1,3 @@
|
|||||||
```markdown
|
|
||||||
# Java Knight ⚔️ – A Turn-Based Roguelike RPG
|
# Java Knight ⚔️ – A Turn-Based Roguelike RPG
|
||||||
|
|
||||||
A text-based role-playing game developed in Java, focusing on **Object-Oriented Programming** principles.
|
A text-based role-playing game developed in Java, focusing on **Object-Oriented Programming** principles.
|
||||||
@@ -70,9 +69,9 @@ The project strictly follows **Object-Oriented Programming** principles.
|
|||||||
|
|
||||||
### Starting the Game
|
### Starting the Game
|
||||||
- Run the program. You will be asked to **choose a class**:
|
- Run the program. You will be asked to **choose a class**:
|
||||||
- `1` – Knight (high damage)
|
- `1` – Knight (high damage)
|
||||||
- `2` – Wizard (high HP)
|
- `2` – Wizard (high HP)
|
||||||
- `3` – Assassin (high mana)
|
- `3` – Assassin (high mana)
|
||||||
- A random location is selected, and an enemy appears.
|
- A random location is selected, and an enemy appears.
|
||||||
|
|
||||||
### Main Menu
|
### Main Menu
|
||||||
@@ -105,9 +104,9 @@ After your action, if the enemy is alive, it attacks you (unless stunned by Knig
|
|||||||
### Merchant & Inventory (Bonus Features)
|
### Merchant & Inventory (Bonus Features)
|
||||||
- Gold earned from enemies can be spent at the **Merchant** (option 3 in main menu).
|
- Gold earned from enemies can be spent at the **Merchant** (option 3 in main menu).
|
||||||
- You can purchase:
|
- You can purchase:
|
||||||
- **Iron Sword** (30 gold)
|
- **Iron Sword** (30 gold)
|
||||||
- **Knight's Armor** (50 gold)
|
- **Knight's Armor** (50 gold)
|
||||||
- **Healing Flask** (20 gold)
|
- **Healing Flask** (20 gold)
|
||||||
- Items go into your **inventory** and can be used in or out of combat.
|
- Items go into your **inventory** and can be used in or out of combat.
|
||||||
- Flasks are consumed upon use.
|
- Flasks are consumed upon use.
|
||||||
|
|
||||||
@@ -127,5 +126,4 @@ The game uses **ANSI escape codes** for colorful messages:
|
|||||||
- **Inventory** management (buy, store, and use items)
|
- **Inventory** management (buy, store, and use items)
|
||||||
- Three distinct character classes with unique abilities
|
- Three distinct character classes with unique abilities
|
||||||
- Advanced combat mechanics (armor breaking, enemy resurrection, lifesteal, stun)
|
- Advanced combat mechanics (armor breaking, enemy resurrection, lifesteal, stun)
|
||||||
- Full turn-based game loop with enemy spawn, key collection, and final boss
|
- Full turn-based game loop with enemy spawn, key collection, and final boss
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user