Skip to content

HelloByeLetsNot/TBW-RPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-Based Web RPG

This is a simple text-based RPG game implemented in HTML, CSS, and JavaScript. The game allows players to explore different areas, interact with NPCs, and engage in battles.

Game Screenshot

How to Play

Use the go [direction] command to move in a specified direction (north, south, east, west).Use the explore command to search the current area for NPCs or other interactions.

Use the attack [npc] command to attack a specific NPC.Use the trade merchant command to trade with the merchant NPC.

Use the buy command to buy an item from the merchant.

Use the sell command to sell an item to the merchant.

Use the leave command to leave the merchant's stall.

Use the help command to list the description of things you can do and that can happen.

Getting Started

To play the game, open the index.html file in your web browser.

Use the input field to enter commands and press the "Enter" button to execute them.

The game output will be displayed in the main area.

Game Mechanics

The player starts with 100 HP and 10 gold.

Players can navigate to new areas every 5 navigations, recovering 3 HP.

Players can encounter NPCs in each area and engage in battles with them.

Players earn 1 gold for each NPC defeated.

Trade functionality with the merchant NPC is not fully implemented.

Releases

No releases published

Packages

 
 
 

Contributors