Show HN: 2048 in ten 60-width lines of python
gist.github.com
gist.github.com
Rules were: implement the game logic only (start with a 4x4 board, given an input direction, update the board) in ten lines of python, where each line is at most 60 characters wide (including indentation).