Skip to content

07balajee/TEXT-Based-RPG-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Text-Based Adventure Game

A Beginner Friendly Java Project for Text-Based RPG Simulation

Description

A console-based Java application simulating a text-based adventure game where players explore a dungeon, battle enemies like goblins, collect items such as potions, manage inventory, and aim to reach the exit using commands (e.g., "move", "fight"). Designed to illustrate object-oriented programming (encapsulation, abstraction), exception handling, and game logic for a single-player RPG. Perfect for students and developers learning Java and game development fundamentals.

Features

Dynamic dungeon exploration with directional moves. Combat system with enemy battles and health tracking. Item collection (e.g., potions) and inventory management. Use items to heal or enhance abilities. Interactive text-based menu with clear commands. Game over condition on health depletion or exit.

Objectives

Demonstrate OOP principles like encapsulation (private health, inventory) and abstraction (simplified command interfaces). Incorporate exception handling for invalid inputs. Simulate RPG mechanics for educational and entertainment purposes.

๐ŸŽฎ Features

๐Ÿ‘ค Player System โ€“ Health, damage, score, and inventory tracking.

๐Ÿ—ก๏ธ Items & Loot โ€“ Potions, swords, and shields that can be collected and used.

๐Ÿ‘น Enemies โ€“ Fight orcs, goblins, and more with turn-based combat.

๐Ÿ—บ๏ธ Dungeon Map โ€“ Navigate between different rooms with directions.

โš”๏ธ Combat System โ€“ Attack enemies, equip items, and survive battles.

๐ŸŽฒ Random Events โ€“ Loot drops and enemy spawns are randomized for replayability.

๐Ÿ“œ Score Tracking โ€“ Earn points by defeating enemies.

About

A Beginner Friendly Java Project for Text Based RPG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors