Ask HN: Most interesting tech you built for just yourself?
1901 pointsMaybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Comments (1,792) 625 threads
Show all comments
Showing thread 30 of 625
I've considered rewriting it to make the code better many times but every time I sit down to do that I think to myself "it works just fine, why touch it" and leave this idea for a while :)
BTW the idea of the game is to combine cubes with the same number and color until there are only 4 left.
If this is mobile responsive I will probably use it a lot.
EDIT: Works flawlessly on my phone. Wonder if I can host it locally on my Android, so that I don't even need an internet connection...
The original I played on my friend's phone was just that -- a phone game, so making sure it works on my phone was a priority :)
I don't have an Android but last time I tested it was playable even though the cubes were bigger than I'd like them to be on some screens.
I've made an offline version for myself in the past to play while traveling by train. Copying the contents of the .js and .css file into the HTML file into
Ahh, a single .html would probably work, too, sounds way easier!
I downloaded Termux, installed git and python3 and now your game is running locally on my phone with "python3 -m http.server --bind 127.0.0.1 9000" :)
Yeah, you went the extra mile spinning up a local server :)
If the trip you're taking is not a long one, you can just make sure to load the page while you still have reception. The game doesn't make any AJAX requests or load any resources after that and prevents the default 'pull-to-refresh' gesture so if you don't refresh the page accidentally, it'll stay available.
Yeah I looked at the files to see if you make any external requests. I guess I just found it entertaining that there's a web-game running locally on my phone :)
Continue this thread — 15 replies
I bought Threes for $3 in 2014, and I still play it for hours each day -- on the subway, while waiting at restaurants, while watching TV, wherever.
A lot of people play 2048 because it's free, but it's not nearly as polished.
Continue this thread — 1 reply
On a serious note, you're welcome, glad you enjoyed! :)
Fun!
I can't promise a speedy resolution since I don't have an Android but I'll definitely look into it when I get a chance. You can share your details here, send them to me by email or open an issue in the repo.
Continue this thread — 1 reply
No, some seeds can't be solved and the game doesn't verify them.
2c of feedback - I'd love to have an unlimited undo to be able to backtrack and try different paths woth the same seed; sometimes the game doesn't end even if there are no moves left; and related to that it won't hurt to have a "hint" option to show a possible move.
Ps. Also the 2048 game was a blatant rip of "Threes", which would've been fine had the 2k guy not decided to monetize it.
Thank you for your feedback. The "Back" button allows you to go back to the initial state of the game so I'm not sure as to how I'd make it unlimited. Could you please elaborate? I'll consider adding a hint, just have to come up with the animation.
Never heard about the Threes game, that's very interesting. When 2048 went viral I remember it being promoted as a learning exercise from some book a student did while learning JavaScript.
I must also add that the game is bloody awesome. Been playing it daily, now a part of the daily routine. Thanks for making and sharing it!