Restart the game!

This was just a quick project to see how difficult it would be to write a basic adventure style engine in PHP. If you'd like all the code that can be downloaded here.

The great void Room ID: 0
A great swirling mass of darkness extends into the distance in every direction. That's probably because this is a very early test version of a game engine I'm working on. If there's interest I may expand on what this thing can do.

Currently working: automatic variable creation and tracking, global variables, text trees, timers, global timers, objects, global objects, exits, automatic mapping, inventory.

Needs work: object randomness, remote variable modification

You see before you:

  • A blue key lays here.
  • A shake to power flashlight lays here.
  • A plate with a pile of cookies.
  • A desk with an ornate lamp. A pull cord dangles from the shade. The lamp is off.
  • A vague outline of a person stands here. They grin and watch you, as if waiting for something to happen.

  
  

With the item above:

What would you like to do?

Say Who are you?
Take the flashlight
Take the blue-key
Use the lamp
Use the plate-of-cookies
Look at your map