// How to play
Type a to walk left and d to walk right; hold the key down to keep walking. Only the lowercase letters work (with Caps Lock on, the original ignored them too). On a touch screen, use the A and D buttons under the window. The pale block J falls with gravity and lands on the dark bars; walk it off an edge and it drops to the next one. There is no goal and no restart: if J falls off the bottom bar it drops out of the window for good, so reload the page to start again.
// Revisited
A platformer physics test from April 2001, rebuilt in HTML5 + JavaScript from the original Visual Basic 6 source (SolidS.frm and SolidM.bas). The images are the originals from SolidS.frx, stretched to the same sizes, and the textbox that reads your keys is still there, hidden behind Frame1 as in the original. The collision routine SolidS is ported line by line, quirks included: it looks one step ahead, so J hovers a few pixels above each bar and stops a few pixels short of the pillar. Timer1 had an interval of 1 ms, which Windows 98 stretched to its 55 ms clock tick, so the port runs at 55 ms. The game pauses while the tab is hidden; the touch buttons are new.