Live data from Hacker News

2048 in the terminal

github.com

51–60 of 90 posts

Re: 2048 in the terminal

#51
I 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

Re: 2048 in the terminal

#52
post #35

Awesome, we have a multiplayer version, a bot version, a terminal version, what's next? Who's gonna make the flappy bird version?

Pure-CSS-zero-lines-of-javascript version. 2048-as-a-monad version. 2048-as-a-jquery-plugin version.

I can't imagine how a pure CSS version would work...

Re: 2048 in the terminal

#53
post #40

You know, I wonder if we're about to see another tetris phenomenon. One of the miracles of tetris is that the game mechanics scaled from a few dots on an 80s era LCD keychain game to HDTV and surround sound. Some kind of generalized 2048 game, with different or harder goals every "level" and some tweaked mechanics and we could see another one.

Yeah, it is as simple as changing every single mention of 2048 in the source code to 4096. My friend actually tried that and it was... a lot harder than 2048. (The 2048-AI fails to make 4096 for most games, for example.) https://github.com/youknowone/4096

You probably need a way to correlate the board size with the goal number

Re: 2048 in the terminal

#54
post #24

I'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.

Thx. I have just bought it, $3. Its almost the same idea, with slightly different mechanics. The 2048 animations are much "better" imho.

Re: 2048 in the terminal

#55
post #36
post #24

I'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.

What would this offer over the official version other than "doesn't take up a tab in MobileSafari" (which could be fixed if the developer just added the right meta tags)?

- Play offline

- Save game

- Save score

- Better UX (e.g. right now I need to refresh to start a new game) not UI and a bunch of other obvious stuff relevant to all native apps.

Re: 2048 in the terminal

#56
post #24

I'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.

Have you considered adding the original 2048 website to your homescreen as a webapp? Works like a charm to me.

Re: 2048 in the terminal

#57
post #24

I'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.

Have you considered adding the original 2048 website to your homescreen as a webapp? Works like a charm to me.

This is what I see on my iPhone when opening the site after saving it as a webapp http://cl.ly/image/0h2E1Y0h2O11

Re: 2048 in the terminal

#58
post #40

You know, I wonder if we're about to see another tetris phenomenon. One of the miracles of tetris is that the game mechanics scaled from a few dots on an 80s era LCD keychain game to HDTV and surround sound. Some kind of generalized 2048 game, with different or harder goals every "level" and some tweaked mechanics and we could see another one.

I'd like to see a version that has a slightly bigger grid. So apparently there is a market for alterations.

I wrote a clone with a configurable grid size.

https://bitbucket.org/ElwinR/ipv4-defrag

I decided to give it a network admin theme, but don't be fooled, it's really the same game.

Re: 2048 in the terminal

#59
post #40

You know, I wonder if we're about to see another tetris phenomenon. One of the miracles of tetris is that the game mechanics scaled from a few dots on an 80s era LCD keychain game to HDTV and surround sound. Some kind of generalized 2048 game, with different or harder goals every "level" and some tweaked mechanics and we could see another one.

Someone should create a 2048/Tetris hybrid. Match the numbers into blocks as they fall to complete larger blocks. Talk about a challenge.

Re: 2048 in the terminal

#60
post #40

You know, I wonder if we're about to see another tetris phenomenon. One of the miracles of tetris is that the game mechanics scaled from a few dots on an 80s era LCD keychain game to HDTV and surround sound. Some kind of generalized 2048 game, with different or harder goals every "level" and some tweaked mechanics and we could see another one.

Yeah, it is as simple as changing every single mention of 2048 in the source code to 4096. My friend actually tried that and it was... a lot harder than 2048. (The 2048-AI fails to make 4096 for most games, for example.) https://github.com/youknowone/4096

regarding term2048, it’s as simple as:

    from term2048.game import Game
    Game(goal=4096).loop()
Post reply on HN