02 March 2013

Simulate a lift (elevator)

Graham Samuel used LiveCode to write a simple simulator of a lift (elevator) in a department store as part of project for showing UK school children how simple computing devices are used for sequencing and interaction. The user (a pupil) can 'program' the lift to stop at particular floors, make announcements etc. The program provides 'passengers' with randomised intentions for getting in and out of the lift. If the sequencing is wrong, passengers can be left behind or trapped in the lift - they even make grumbling noises when things go wrong!

No comments:

Post a Comment