Live data from Hacker News

Show HN: 1024, a 2048 Puzzle Game

1024-game.netlify.app

31–40 of 50 posts

Re: Show HN: 1024, a 2048 Puzzle Game

#31
post #6

Earlier quoted context omitted.

2048 was similarly flawed (cycle up, right, down, left to win), so I doubt a new block on each turn will solve the issue any more than it did for the original.

Well, shit.

Just tried it and it didn’t work.

Re: Show HN: 1024, a 2048 Puzzle Game

#32
post #13

You have a pause in there where the tiles take a moment. Please let us use that pause to rotate a second time before the tiles fall so we can also get the pieces to move across the board rather than just slide parallel.

I think both modes would make for interesting gameplay - one where you can rotate 180 degrees, and one where you're restricted to 90 degrees at a time (kind of like those Game & Watch games with 'Game A' and 'Game B').

Very fun take on the old 2048 concept, but I'd better stop playing now otherwise I'll be on it all morning!

My only suggestion is to add control by cursor keys in addition to mouse.

Re: Show HN: 1024, a 2048 Puzzle Game

#33
Excellent.

Is each board guaranteed to be solvable?

For playing on mobile - it's be nice to be able to rotate by swiping vertically down the empty space on the left or on the right of the board.

Re: Show HN: 1024, a 2048 Puzzle Game

#34
post #6

That was fun! But I was able to solve the puzzle by continually rotating the same direction. I bet this was tried, but what's play like with the same game mechanics of this version, but with the original game play, where each move gives you a new block?

2048 was similarly flawed (cycle up, right, down, left to win), so I doubt a new block on each turn will solve the issue any more than it did for the original.

Threes, which is what 2048 was ripped from, is not solvable this way.

Re: Show HN: 1024, a 2048 Puzzle Game

#35
Just like few others here, I wanted keyboard shortcuts so I just hacked it quickly. Will break if DOM classes change, but author should implement something better.

Cool game.

```

const rotate = (direction) => { const directions = {counterclockwise: 0, clockwise: 1}; const buttons = Array.from(document.querySelector('.mt-16.flex.items-center.justify-between.w-72.h-12.px-2').querySelectorAll('div')).filter(el => el.className === ''); buttons[directions[direction]].click(); }

document.addEventListener('keydown', (ev) => { switch (ev.key) { case 'ArrowLeft': rotate('counterclockwise'); break; case 'ArrowRight': rotate('clockwise'); break; } });

```

Re: Show HN: 1024, a 2048 Puzzle Game

#36

Just like few others here, I wanted keyboard shortcuts so I just hacked it quickly. Will break if DOM classes change, but author should implement something better. Cool game. ``` const rotate = (direction) => { const directions = {counterclockwise: 0, clockwise: 1}; const buttons = Array.from(document.querySelector('.mt-16.flex.items-center.justify-between.w-72.h-12.px-2').querySelectorAll('div')).filter(el => el.cla…

Thanks a lot! I just added the keyboard shortcuts :)

Re: Show HN: 1024, a 2048 Puzzle Game

#39
Nice game! Thanks!

Some proposals to improve usability:

The game should notice a stalemate and tell you that you lost (no matter how you rotate: no more progress is possible).

The game should accept a hit of 'Return' to start the new game (it currently seems to insist of mouse interaction).

The game should have a 'fast' mode with less animation so that I can play faster. A single move takes too long! I am impatient! :-)

Re: Show HN: 1024, a 2048 Puzzle Game

#40
post #13

You have a pause in there where the tiles take a moment. Please let us use that pause to rotate a second time before the tiles fall so we can also get the pieces to move across the board rather than just slide parallel.

but if you allow that, what's the difference really between this game and the original 2048?
Post reply on HN