Thanks Raul,
You're right about the merging behaviour. I think I must have mis-read the
spec on Rosetta code. I've fixed it there and on Github now. Will be fixed
in the next release.

Using arrow keys would be nice - I'm investigating to see if I can make
that happen.

Cheers,

On Wed, Jun 22, 2016 at 7:47 AM, Raul Miller <[email protected]> wrote:

> I tried this, and I noticed some differences from the implementation
> at https://gabrielecirulli.github.io/2048/
>
> Probably the most significant is that in the original if you have:
>
> 2
> 2
> 2
>
> And you select the "up" direction, the result is:
>
> 4
> 2
>
> Where currently your J implementation gives:
>
> 2
> 4
>
> There are other differences, of course (J does not yet support the
> arrow keys, for example).
>
> The fix looks straightforward.
>
> Thanks,
>
> --
> Raul
>
>
> On Tue, Jun 21, 2016 at 3:54 AM, Ric Sherlock <[email protected]> wrote:
> > I've added a Wd-based UI to the Rosetta code task 2048 engine
> > <http://rosettacode.org/wiki/2048#J> and released it as an addon.
> >
> > Install via the Package Manager
> > Run using:
> >    load 'games/2048'
> >
> > or load the desired UI directly
> >    load 'games/2048/ui_wd'
> >    load 'games/2048/ui_console'
> >
> > Enjoy!
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to