Skip to content

charleemg/moonhaven-manor-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Mystery of Moonhaven Manor

A web-based visual novel adventure game built with HTML, CSS, and JavaScript.

Story

You are an unstable, unhappy investigator hired to solve the mysterious disappearance of Krunky Barmwood, the owner of the imposing Moonhaven Manor. As you explore the bizarre mansion, you'll uncover dark family secrets, ancient curses, and make choices that determine the fate of both Krunky and you, whoever you are.

Features

  • Interactive storytelling with branching dialogue and multiple endings
  • Atmospheric backgrounds that change based on the current scene
  • Choice-driven gameplay where your decisions matter
  • Multiple endings - Good ending and Bittersweet ending based on your choices
  • Responsive design that works on desktop and mobile devices
  • Mystery/Horror theme with supernatural elements

How to Play

  1. Open index.html in your web browser, or just play it straight at its URL.
  2. Click "Start Game" to begin your investigation
  3. Read the story text and click "Continue" to advance
  4. When presented with choices, click on your preferred option
  5. Explore different paths by replaying the game with different choices

Game Structure

  • 32 unique scenes with interconnected storylines
  • Multiple investigation paths - enter through the front door or sneak in through a window
  • Character interactions with the butler Henderson and Margaret Blackwood
  • Puzzle elements as you piece together clues about the family curse
  • Meaningful choices that lead to different story outcomes

Technical Details

  • Pure HTML, CSS, and JavaScript - no external dependencies
  • Responsive design using CSS Grid and Flexbox
  • SVG-based backgrounds for crisp visuals at any size
  • Modular JavaScript architecture for easy story expansion
  • Save system ready for implementation (gameData object structure in place)

Files

  • index.html - Main game page with HTML structure
  • style.css - All styling and responsive design
  • script.js - Game logic, story data, and interactive functionality
  • README.md - This documentation file

Future Enhancements (yeah, right)

  • Character sprite images
  • Background music and sound effects
  • Save/load game functionality
  • Additional story branches and endings
  • Animated transitions between scenes
  • Character portraits during dialogue

Credits

Created as a demonstration of web-based visual novel development using vanilla JavaScript.


Play the game by opening index.html in your browser!

About

test of a vibe coded game lol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors