Pages

Monday, September 17, 2007

How to travel in Singapore MRT with programming language

I am sure majority of local need this, for the sake of dummy I only use the structure, not the actual language.

scan(ezlink_card)

If
{
if handicap(wheelchair) or handicap(stroller) or handicap(heavystuff)
{ lift(use) }

escalator(congested)
{ if hurry use(right)
else Keep(left) }

plaform(crowded)
{ if exist yellow_line
cross(not) }

train_arrive(crowded)
{ giveway(alighting_passenger)
Enter_before(alarm_stop) }

wait(destination)
{ if destination(one_stop)
Wait(12000)
Else move(centre) }

destination(reach)
{ if cabin(crowded)
squeeze(out) or printf: “ccnbccb! skews me.”
else work(late)
iIf platform(crowded)
squeeze(out) or printf: “ccnbccb! skews me.”
else work(late)}

goto escalator(congested)
goto lift(hadicap)
goto scan(ezlink_card)

}

else human_brain(use)

Ah, if social behaviors are so easily programmed.

No comments: