21 ms·
I like to write really basic little games to kill time. Stuck on a flight? Clone tetris or minesweeper or whatever. And of course I use D. Well, I wrote a vers
by destructionator 6y ago
I like to write really basic little games to kill time. Stuck on a flight? Clone tetris or minesweeper or whatever. And of course I use D.
Well, I wrote a version of my support library for those games for webassembly too and you can play some of them online!
http://webassembly.arsdnet.net/ http://webassembly.arsdnet.net/
None of them are "finished" per se, I'd be on a strict time limit and just left it where it landed when I ran out, some not even really working, but there's some little playable chunks there. Tends to be 60KB or so of webasm, really not too bad (no need for the emscripten bloat etc since I did it all myself)
It amuses me to compile the same program for Windows, Linux, and the browser without modification.
(that's all I personally use webassembly for though, since I'm not a fan of SPAs...)
- brobdingnagians 6y agoThat's really cool, thank you for sharing! It is neat to see a bit longer form D code in more than just sample tutorials.