Re: tetris in D in webassembly

2020-08-11 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 11 August 2020 at 04:10:10 UTC, starcanopy wrote: This is really cool. This idea, especially, titillates me: That's actually easy enough to do I just went ahead and made it. so behold: http://webassembly.arsdnet.net/ and the source is pushed up to github, with just a little bit

Re: tetris in D in webassembly

2020-08-11 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 11 August 2020 at 13:22:02 UTC, jmh530 wrote: The blog post says it is space bar. Tripped me up too. Yeah, I learned yesterday that there's a whole other PC tetris world I had no clue about. I only ever played the Nintendo/ELORG version on the NES. On that, dpad is left, down,

Re: tetris in D in webassembly

2020-08-11 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 11 August 2020 at 12:46:51 UTC, Atwork wrote: [snip] Just needs a rotation feature (unless I am just unaware of how to do that.) But pretty cool project The blog post says it is space bar. Tripped me up too.

Re: tetris in D in webassembly

2020-08-11 Thread Atwork via Digitalmars-d-announce
On Monday, 10 August 2020 at 15:08:59 UTC, 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:

Re: tetris in D in webassembly

2020-08-10 Thread starcanopy via Digitalmars-d-announce
On Monday, 10 August 2020 at 15:08:59 UTC, 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:

Re: tetris in D in webassembly

2020-08-10 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 10 August 2020 at 21:30:53 UTC, matheus wrote: By the way you should post on reddit (/r/programming) if you haven't already. I don't really do reddit. I sometimes troll in the comments but it isn't a site I care for. That said if you or someone else wanted to and post the link,

Re: tetris in D in webassembly

2020-08-10 Thread matheus via Digitalmars-d-announce
On Monday, 10 August 2020 at 15:08:59 UTC, 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:

Re: tetris in D in webassembly

2020-08-10 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 10 August 2020 at 16:24:02 UTC, Steven Schveighoffer wrote: Bug report: the score doesn't increase for me when I complete a line ;) The reason for that is actually explained in the article; has to do with webassembly not blocking on eventLoop and the program was written with the

Re: tetris in D in webassembly

2020-08-10 Thread Steven Schveighoffer via Digitalmars-d-announce
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