This is a simple demonstration of how we might change an object by changing their properties rather than 'swapping out' objects with another. This is based on Chapter 16.14. 'Understanding things by their properties' in the Inform 7 documentation.
State of the Orange was created with Inform and has IFID 5D2EBFE9-498F-4E4A-ABBC-CE7B0BABBC24. To play a work like this one, you need an interpreter program: many are available, among them Zoom
for Mac OS X and for Unix; Windows Frotz or Windows Glulxe for Windows.
Or you can play without downloading anything by following the 'Play In-Browser'
link, using the Parchment interpreter. You'll need to have Javascript enabled
on your web browser.