Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Cave Adventure Game

Try The Game

Overview

This is a text-based adventure game where the player navigates through a cave, interacts with different characters and objects, and attempts to find a legendary treasure. The game features an inventory system, interactive scenes, and various endings based on the player's choices.

Features

  • Inventory System: Players collect items like a map, torch, and rope, which are saved in the browser's local storage.
  • Scene Navigation: The game progresses through different scenes with dynamic text and buttons based on the player's decisions.
  • Typing Animation: Story text is typed out on-screen with a typing effect.
  • Audio: Sound effects and background music are used to enhance the experience.

Local Storage

The game uses localStorage to persist the player's inventory and other game data across sessions. The inventory is stored as a JSON array, and items are added or removed as needed.

How to Play

  1. Open the game in a web browser.
  2. Interact with the scenes by clicking buttons to make choices.
  3. Use the inventory to solve puzzles and navigate the cave.
  4. Multiple endings are available based on your decisions.

Technologies Used

  • HTML: Structure and layout of the game interface.
  • CSS: Styling for the game elements and animations.
  • JavaScript: Game logic, scene navigation, and local storage functionality.

About

Interactive Cave Adventure Game

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages