Earlier quoted context omitted.
There's Threes ( https://itunes.apple.com/us/app/threes!/id779157948?mt=8 ) which is similar but not the same (since it requires a 1 and a 2 to generate a 3, which makes it slightly more troublesome. I prefer powers of 2, too, they appeal my inner nerd.
Thx. I have just bought it, $3. Its almost the same idea, with slightly different mechanics. The 2048 animations are much "better" imho.
2048 in the terminal
81–90 of 90 posts
Re: 2048 in the terminal
#82I'm genuinely addicted to this. I'd be very happy to pay $5 for a native 2048 iOS game – this will substitute my Flipboard use during my commute.
There's Threes ( https://itunes.apple.com/us/app/threes!/id779157948?mt=8 ) which is similar but not the same (since it requires a 1 and a 2 to generate a 3, which makes it slightly more troublesome. I prefer powers of 2, too, they appeal my inner nerd.
Re: 2048 in the terminal
#83Re: 2048 in the terminal
#84Re: 2048 in the terminal
#85Now make a web version of the terminal version.
Re: 2048 in the terminal
#86Re: 2048 in the terminal
#87Earlier quoted context omitted.
By replacing the numbers with colors you could scale it down to a pixel per piece. The tones would have to be chosen carefully, though.
A straightforward hue/rainbow progression might work. You need 11 colors to represent 2^1..2^11, so you could do {red, yellow, green, blue, magenta} * {normal, bright}, with 2048 as cyan.
Re: 2048 in the terminal
#88I hadn't used pip before. I wonder how many different package managers I have installed now? Figuring out how to install pip on OSX I discovered "easy_install" which I hadn't used before. sudo easy_install pip pip install term2048
from twitter (@gardaud): “What’s pip?” “A python package manager” “How do I install it?” “easy_install pip” “What’s easy_install?” “A python package manager”
It's not so bad with the right tools. In particular, "virtualenv" lets you make "environments" for python packages so you can install these things without needing root access:
- Use your distro package manager to install virtualenv
- Make a new virtual environment with: virtualenv /tmp/vv
- "Enter" the environment: source /tmp/vv/bin/activate
- You now have "pip" so you can say pip install term2048
- Play
- rm -r /tmp/vv and log out; everything's all cleaned up now.
Re: 2048 in the terminal
#89 $ tail ~/.bash_history
open http://news.ycombinator.com
pip install term2048
term2048
term2048
term2048
term2048
term2048
term2048
term2048
pip uninstall term2048
Do you see what you've done?Re: 2048 in the terminal
#90FYI - doesn't seem to install with python 3.3