Discussion

Show HN: Print chr$(205.5+rnd(1)) goto 10

JavaScript implementation of the famous `10 print chr$(205.5+rnd(1)) goto 10` one line of BASIC code.

data:text/html,<script>a=()=>{document.write(Math.random()<0.5?'\u2571':'\u2572');document.body.style.cssText="margin:0;padding:0;font-family:monospace;word-break:break-word;font-size:3em;letter-spacing:0;font-stretch:ultra-expanded"};update=()=>{a();window.requestAnimationFrame(update)};update()</script>

Copy and paste the above "link" in your browser.

42 points atum47 5 years ago 16 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton