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.
Show HN: 1024, a 2048 Puzzle Game
31–40 of 50 posts
Re: Show HN: 1024, a 2048 Puzzle Game
#32You 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.
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
#33Is 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
#34That 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.
Re: Show HN: 1024, a 2048 Puzzle Game
#35Cool 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
#36Just 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…
Re: Show HN: 1024, a 2048 Puzzle Game
#37Are there any keyboard shortcuts to this I'm not finding? Really needs keyboard shortcuts.
Re: Show HN: 1024, a 2048 Puzzle Game
#38Suggestion: make it so that arrow keys (left, right) rotate the board.
Re: Show HN: 1024, a 2048 Puzzle Game
#39Some 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
#40You 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.