The Room Adventure Game
The game starts as a text-based adventure, going from room to room in a house you create. You find items and use them to fix broken things in other rooms.
Once the game structure is set, you can convert your game into HTML, adding colors, images, and you can travel through your house using buttons instead of typing!
You can easily share your creations with friends and family!
The focus of the book is to teach you standard coding concepts that stretch to any programming language. So even if you switch to another language later, the lessons you learn in this book will benefit you.
In order to code, you only need simple text files. To test your code, you need access to an internet browser, but you don't need internet access. Chapter 1 covers the setup you need to get started.
This book is written by a middle school science teacher with over 17 years of experience working with kids. The format of the book is a step-by-step guide through the process with repetition and contains all the code available in the back of the book. A short reference guide is also included, as well as additional add-on features for the game on an exclusive website.
Start Your Adventure Today!
Chapter 1 introduces you to the book itself and gets you set up and ready to code.
Chapter 2 gets your house set up where you can travel from room to room.
Chapter 3 completes the main game, letting the player fix things around the house and earn points.
Chapter 4 adjusts your game so we can add more features.
Chapter 5 has a bunch of new optional features you can add to your game, including randomizing where things are found.
Chapter 6 walks you through converting your game to HTML and styling it with CSS.
Chapter 7 are some final thoughts on the project, including how to convert your Room Adventure into a Fantasy Quest.
Chapter 9 has all the game code for the text version of the game completed in chapter 3 and for the fully featured HTML version.