Skip to content

thesneilert/dungeon-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dungeon Game

Description

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.

Features

  • 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).

How to Play

  1. Open the page in a web browser.
  2. Start in Room A.
  3. Choose an exit to move to the next room.
  4. Navigate through the dungeon by selecting different exits.
  5. Reach the final room (Room J) to find a treasure chest.
  6. Click the chest to open it and receive a random gold reward.

Project Structure

  • HTML and CSS: Handles the structure and styling of the game interface.
  • JavaScript: Manages the game's logic, room transitions, and chest reward system.

Installation

  1. Clone this repository to your local machine:
    git clone https://github.com/thesneilert/dungeon-game.git
  2. Open the index.html file in your preferred web browser.

Contribution

Feel free to fork this repository and make contributions. You can submit a pull request, and your changes will be reviewed.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published