The Room Adventure
HTML Version, All Book Features Included
Sample images
Game starts
in a random room
Updated descriptions
after fixing things
Found a piece of the
passcode and the exit!
Play the game here
The Room Adventure (HTML-With Features)
Here's the code
There are several files for the code, separated by type.
The JavaScript
The JavaScript for this larger version of the project is separated into separate files. You could, however, have all the code in these files contained inside one single full. I split them up to keep related functions together so it is easier to find each one.
JavaScript Code: The main JavaScript file that starts and manages the game
JavaScript Code: The functions related to displaying information onscreen
JavaScript Code: The functions related to the passcode feature
JavaScript Code: The functions related to the randomizers added to the game
JavaScript Code: These are all the rooms
The HTML
The CSS