textBasicRunner.html
1    <!DOCTYPE html> 
2    <html lang="en"> 
3    <head> 
4      <meta charset="UTF-8"> 
5      <meta name="viewport" content="width=device-width"> 
6      <title>Room Adventure - Basic Text Version</title> 
7    </head> 
8    <body> 
9     
10   <h1>Room Adventure - Basic Text Version</h1> 
11   <p>This is the simplest form of the <em>Room Adventure </em>game.</p> 
12   <p>The game uses popups and you have to type in what to do.</p> 
13   <p>If you want to exit the game early, type <strong>quit</strong> as the direction.</p> 
14   <p>If you <strong>quit</strong> the game but then want to continue, use the <em>continue</em> button below. 
15     <br>This only works if you haven't reloaded the page.</p> 
16    
17   <button onclick="startGame()">Start the game from the beginning</button> 
18   <button onclick="moveToRoom()">Continue the game after typing quit</button> 
19   <script src="textBasicMain.js"></script> 
20   </body> 
21   </html>