Threnody is a lighthearted, puzzle-rich fantasy game written in TADS 2 (HTML).  The graphics are optional.  

The player can select one of three paths: the Path of the Ferret (for Rogues), the Path of the Dragon (for Mages), or the Path of the Lion (for Warriors).  The objectives and challenges of the game are the same for each path, but solutions to the puzzles may vary depending on which path is chosen.  No matter what path is chosen, all puzzles in the game can be solved.  Most puzzles have multiple solutions.

The namesake character Threnody will provide help and background information for many puzzles and rooms in the Keep.  In addition, the help menu includes hints for every stage of the game.

RogueSolution.txt, MageSolution.txt, and WarriorSolution.txt provide solutions for each path.  However, the Warrior path's walkthrough involves random elements that cannot be scripted -- specifically, the encounter with Legion in the Carriage House.

To the best of my knowledge, the game cannot be placed in an unwinnable state.  Death will be preceded by a warning from the player's amulet or common sense (e.g., the bottle of poison marked "POISON" should not be ingested).  There are multiple endings for each path; the optimal ending requires that Threnody be freed and treasures recovered from the Keep.

Scoring is based on the rescue of captives and the acquisition of treasures.  A final ranking is awarded only at the end of the game.