Skip to content

pdxiv/trombicula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trombicula

Introduction

Trombicula is a web-based player/interpreter for text adventure games in the Scott Adams file format.

How to use

Running on a web server

To run this on a web server, simply put the index.html , style.css and handleGameData.js in a directory together with a compatible game data file. The name of the game data file must be specified with the gameFile argument in the URL, so that if your game file is called adv01.dat the URL would look something like this: https://www.mysuperawesomewebserver.com/index.html?gameFile=adv01.dat .

Running locally

To test this locally, you can use Python as a local web server in the local directory by using python -m http.server or python3 -m http.server (whichever works best), and navigating to http://localhost:8000/?gameFile=adv01.dat in a web browser.

Loading and saving

Savegames are stored as "Web Storage" (localStorage) in the web browser.

Files

Filename Description
README.md The file you're currently reading from
handleGameData.js Most of the adventure game logic
index.html The main HTML file that's needed to show the GUI
style.css CSS file that contains colors and styling information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors