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
