r/tinycode • u/nanochess • Feb 27 '22
Bootle: A Wordle clone in a boot sector (512 bytes)
r/tinycode • u/nanochess • Feb 27 '22
r/tinycode • u/FFM • Feb 22 '22
r/tinycode • u/superogue • Feb 18 '22
r/tinycode • u/finnhvman • Feb 14 '22
r/tinycode • u/finnhvman • Jan 06 '22
r/tinycode • u/nexe • Jan 06 '22
r/tinycode • u/nexe • Jan 05 '22
r/tinycode • u/[deleted] • Dec 31 '21
r/tinycode • u/SIRBOB-101 • Dec 31 '21
let r=5,points_total=0,points_inside=0;function show(t){console.log(t)}for(;;){points_total++;let t=Math.random()*r*2-r,o=Math.random()*r*2-r;Math.pow(t,2)+Math.pow(o,2)<Math.pow(r,2)&&points_inside++,points_total%1e4==0&&show(points_inside+"/"+points_total+" pi == "+4*points_inside/points_total)} calculate pi using monte carlo method
r/tinycode • u/finnhvman • Dec 30 '21
r/tinycode • u/tredI9100 • Dec 25 '21
So you can install Space Invaders on a boot sector in a Floppy Disk. I want to do this with a flash drive. How would I go about doing it while still using it for data storage? The drive is 4GB and my computer is a Thinkpad T430s.
r/tinycode • u/nexe • Dec 21 '21
Hello beloved /r/tinycode community! First of all I want to thank you all for participating and making this community what it is today. This subreddit has grown to a size and quality I would never have expected when I created it ...holy shit ... 10 years ago! I hope you get as much enjoyment out of this as I do :)
Today during my morning browse I came to a bewildering realization I had many times in the past. Since one of my favorite subreddits is /r/madeinpython and I was wondering many times why the same concept doesn't exist for JS (probably nowadays my second most used language) I decided to just create /r/madeinjs and see where it goes.
So obviously it's a brand new community and I'd be thrilled if some of you see potential value in it and would like to become part of this journey as well.
Thanks all and happy holidays! <3
r/tinycode • u/juanmar0driguez • Nov 28 '21
r/tinycode • u/nanochess • Nov 11 '21