lkesteloot / alice

Website documenting a hardware project from the 1990s.
http://lkesteloot.github.io/alice/
Apache License 2.0
74 stars 9 forks source link

Update index.html #65

Closed HurricaneJames closed 5 years ago

HurricaneJames commented 7 years ago

Old pascal spider demo was cool. I will need to read the code to figure out how to control the spider. Right now it just wanders off the screen. It did take me a minute to figure out that "SPIDER.PAS" needed to be all caps, whereas W and R worked fine in caps or without.

bradgrantham commented 7 years ago

Thanks for testing it! "spider.pas" in lower case works for me; what browser are you in? Would you check it again? Also, it moves in whatever direction the pointer is from the center of the window.

HurricaneJames commented 7 years ago

I was on Windows 10 64bit running Chrome. On the bus to work now. Testing on my MacBook Pro in Chrome works. Spider follows the cursor here too, though not terribly well, and at some point it crawled up my screen and started walking on an invisible ceiling :)

bradgrantham commented 7 years ago

When you get a chance, could you send a screen shot from WIndows after typing "spider.pas" and hitting ENTER? Thank you!

lkesteloot commented 7 years ago

Strange, line 353 of IDE.js converts the string to upper case:

workFile = workFile.toUpperCase();

I wonder why it didn't work for you. Do you mind trying it again? (And you control the spider with the mouse position. Just hover over the window to the left or right of the spider.)