Simple multi-page simulation
Shown above is part of some simple code to simulate a finite state machine, but getting it to work like a web site.
The idea shows that web sites and interactive devices are pretty much the same thing.
Play with the code here, which shows a very simple finite state machine with three states.
Web sites = interactive devices  |