Live data from Hacker News

2048 in sed

github.com

1–10 of 39 posts

Re: 2048 in sed

#6
I think this game is a bit different than http://gabrielecirulli.github.io/2048/ Take a look at this situation:

   ___________________
  |___2|____|____|____|
  |___2|____|____|____|
  |___2|____|____|____|
  |____|____|____|____|
in the original the result of going up would be

   ___________________
  |___4|____|____|____|
  |___2|____|____|____|
  |____|____|____|____|
  |____|____|____|____|
but in this game it's

   ___________________
  |___2|____|____|____|
  |___4|____|____|____|
  |____|____|____|____|
  |____|____|____|____|

Re: 2048 in sed

#7
post #6

I think this game is a bit different than http://gabrielecirulli.github.io/2048/ Take a look at this situation: ___________________ |___2|____|____|____| |___2|____|____|____| |___2|____|____|____| |____|____|____|____| in the original the result of going up would be ___________________ |___4|____|____|____| |___2|____|____|____| |____|____|____|____| |____|____|____|____| but in this game it's ___________________ |_…

no score too! :(

how am i suppose to know when i break my own record [i.e. 3012 - never got passed 512 on the tiles]

Re: 2048 in sed

#10
post #8

Have someone made Emacs version? Isn't it more easy to write it in elisp compared to sed.

Well, writing in sed has essentially the "heh, look what I did in sed!" value. Elisp would be a far more simple place to build it (we already have tetris there, there's even a very old simple version of Elite in emacs lisp!)
Post reply on HN