Dungeon Game is a simple web-based game where players navigate through various rooms in a dungeon. The goal is to reach the final room and open a treasure chest to earn a random gold reward. The game features multiple rooms, each connected to one or more rooms, providing the player with different choices to progress through the dungeon.
- Navigate through multiple interconnected rooms (A, B, C, D, E, F, G, H, J).
- Random treasure chest rewards in the final room.
- Dynamic image changes based on room selection.
- Random placement of the treasure chest in the final room.
- Random gold reward (between 10 to 100 gold coins).
- Open the page in a web browser.
- Start in Room A.
- Choose an exit to move to the next room.
- Navigate through the dungeon by selecting different exits.
- Reach the final room (Room J) to find a treasure chest.
- Click the chest to open it and receive a random gold reward.
- HTML and CSS: Handles the structure and styling of the game interface.
- JavaScript: Manages the game's logic, room transitions, and chest reward system.
- Clone this repository to your local machine:
git clone https://github.com/thesneilert/dungeon-game.git
- Open the
index.html
file in your preferred web browser.
Feel free to fork this repository and make contributions. You can submit a pull request, and your changes will be reviewed.
This project is licensed under the MIT License.