Hacker News new | ask | show | jobs
by jimhart3000 4474 days ago
This is awesome and yet another way to kill my productivity!

I noticed something that I think is incorrect behavior based on my playing of the original. If I have a row that has 2 - 2 - 4, when I press right, it goes straight to 8, rather than the behavior that I think is supposed to happen - press right once and get 4 - 4, press it again and get 8. A minor difference but does actually change the gameplay a bit.

2 comments

Hi, author here, thank you for your feedback, but I can’t reproduce the bug. See https://github.com/bfontaine/term2048/commit/5ab27e181431c26...

Edit: I’m on this issue, currently trying to write a test to reproduce.

Edit 2: fixed!

What about the other direction? [4,2,2,0] while shifting left or up?
I'm having this issue too, which totally threw me off, as I've finally figured out how to sort of consistently beat the original.