Skip to content

vjncenzo/SimpleAdventureMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleAdventureMaker

SAM is an html page to write simple adventure games.

How to create you own adventure

All you need to change is the 'commands.js' file.

You can set there:

  • Game name (will appear as title);
  • Credits (will appear at the footer of the page);
  • Commads of the game.

Command syntax is:

  • I: Image; param: ImageFileName Example: ["I", "images/question-mark.jpg"]
  • T: Text; param: Text to show Example: ["T", "It's evening and you studied all day long!"]
  • B: Button; param: Text of the button param: Label where the button points to Example: ["B", "You decide to play just for five minutes", "Play"]
  • R: Restart Button. param: Text of the button Example: ['R','You lose, do you want to restart?']

You can also change 'SAM.css' to change the page look (colors, dimensions, ...).

About

An html page to write simple (old style) adventure games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published