Ric,
I really appreciate your coding and sharing this game.
I especially have benefitted from studying the console version because it
leaves the history on the screen and I can begin to understand the effects
of the moves by reviewing the sequences of input/output pairs.
So far I have also found that the following line in the verb newnum_g2048_
can be abbreviated by not including the ,/ on the left. But that is
trivial and does not detract from the really clear script code.
num=. ,/ 2 4 {~ 0.1 > ?0 NB. 10% chance of 4
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm