Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
2048 in bash (github.com/dlthomas)
2 points by dllthomas on May 7, 2014 | hide | past | favorite | 6 comments


Had the idea for the sed-based collapsing and wanted to see if it would work. Apparently so.


just prints "you lose" :-(.

A shame, I was excited about this.


It works for me - where are you running it? I've heard it breaks on OS X, but don't have access to the platform to experiment.


Ubuntu 12.04


Oh, does it print a board and die when you hit a key? Or does it not even start up? Keys are hjkl, not arrow keys (which, it seems, lead to loss). That might be worth documenting...


Confirmed that this was the issue on OS X.

I added a line to the readme...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: