tetris in D in webassembly
Steven Schveighoffer
schveiguy at gmail.com
Mon Aug 10 16:24:02 UTC 2020
On 8/10/20 11:08 AM, Adam D. Ruppe wrote:
> http://webassembly.arsdnet.net/
>
> tetris.d source here:
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_03.html#tetris-in-d
>
> web assembly source and explanation here:
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_10.html
>
>
> Short version: BARE MINIMUM druntime port to webassembly together with a
> bare minimum source port of simpledisplay.d to it as well made that
> little game playable.
>
> In theory we could make a lot more work by building up one function at a
> time. In practice I gotta get back to real work so don't hold your
> breath :)
Very cool!
Bug report: the score doesn't increase for me when I complete a line ;)
-Steve
More information about the Digitalmars-d-announce
mailing list