Hacker News new | past | comments | ask | show | jobs | submit login

Another of my favorites -- this was fun in middle school (years 6-8) when I had a spare minute or two to sit down at a random computer (maybe in a computer lab).

    10 SCREEN 9
    20 CLS
    30 COLOR 1, INT(RND*10)
    40 SOUND 20+(RND*5000),.2
    50 GOTO 30
The effect is rather striking, like someone must have really messed up the computer.

My main gripe with Windows NT was that it would go back to the NT screen saver -- I couldn't get it to stay displaying my program, because there wasn't any true DOS mode.




How would you do this on macOS with just the built-in Python or Ruby?


I have no idea... I just wanted to share something fun I did around 25 years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: