8 ms·
Show HN: Logarithmic Flappy 2048
- Thirdegree 13y agoAlright, now I understand the appeal of flappy bird.
- TazeTSchnitzel 13y agoInspired by this comment: https://news.ycombinator.com/item?id=7431180 https://news.ycombinator.com/item?id=7431180 I literally just made the display code use Math.pow(2) on everything, after discovering that changing the internal score by doubling instead of incremental would increase the speed exponentially with each hop, rendering it unplayable.
- gburt 13y agoWelp. http://cl.ly/image/13370z0l053H http://cl.ly/image/13370z0l053H
- DGCA 13y agoScore thread? Score thread. http://i.imgur.com/aOf0Dxz.png http://i.imgur.com/aOf0Dxz.png
- malokai 13y agowoot woot http://i.imgur.com/MTNHbct.png http://i.imgur.com/MTNHbct.png
- TallboyOne 13y agoI'm glad I can just see these replies so I can actually not have to play, and not have to sit here wondering what happens if your score goes high enough.
- computer 13y agoI suspect you know this, but either way: you should initialize your arrays in R to the proper length-- dynamically growing them within a for-loop as you do with values, func and results in optimxWrapper is extremely slow in R, as it creates a new array every loop, copying the old one.
- gone35 13y agoNice. I thought I was the only one using end-of-line semicolons in R! Don't listen to the haters/purists that tell you against them. Note though you missed the first two statements of 'somaWrapper' and in the return statement of 'optimxWrapper'.
- 0-o 13y ago>9000.
- deleted 13y ago[deleted]
- chch 13y agoIt is a bit odd when the numbers go into scientific notation. :) http://i.imgur.com/Q2qHoSs.png http://i.imgur.com/Q2qHoSs.png Also, it seems that at a certain point length, the two score boxes will shift to being on top of one another instead of side by side[1], which moves the whole playfield's place in the window. Adds a bit of an added challenge! [1] http://i.imgur.com/BW6RV2e.png http://i.imgur.com/BW6RV2e.png
- jlas 13y agoCool. I'm on a MBP with 1280x800 resolution and tapping up on the keyboard moves the page to the top, which cuts off the bottom of the game board. A little annoying :(
- rafifyalda 13y agoYou can press any key ;)
- philippotto 13y agoWhere can I find the any-key?
- jerf 13y agohttps://www.google.com/search?tbm=isch&q=any+key https://www.google.com/search?tbm=isch&q=any+key
- yincrash 13y agoit's right next to some key
- snrobot 13y agono no next to that key
- collinvandyck76 13y agoall i see is catarl, pig-up, and esc
- shmageggy 13y agoI would describe this as multiplicative rather than logarithmic. 2×2×2×2... Or maybe exponential if you consider your score to be 2^(number of walls you've jumped). I don't get logarithmic, though.
- drcode 13y agoI think the term is "geometric"
- orcasauce 13y agoAfter around 4096 it starts tapering off, hence logarithmic.
- deleted 13y ago[deleted]
- albertjorlando 13y agoThis is the exponential function, 2^x. Where the independent variable is the number of walls jumped. For instance, after 30 jumps, your score/tile reads 1073741824, or 2^30.
- deleted 13y ago[deleted]
- 13y ago
- higherpurpose 13y agoIs it just me or do the arrows not lock to the game and push the scrollbar up, making you not see the whole game? The previous game had the same problem.
- lordlarm 13y agoHaha, I got a nice overflow when the score reached 68719476736.
- bonestamp2 13y agoI got to 576460752303423500 without a problem. http://i.imgur.com/WBdl0Qt.png http://i.imgur.com/WBdl0Qt.png
- BobChubby 13y agoCan someone compile a list of all the versions of 2048 that have come out in the past several days? I have an addiction.
- davidgerard 13y agoAwaiting Doge and Dr. Who versions.
- agildehaus 13y ago50% complete: http://doge2048.com/ http://doge2048.com/
- sb23 13y agoI'm too slow to read the pop ups when combining doges. Still looks great otherwise!
- userbinator 13y agoThat was far more amusing that I thought it would be. I'm not entirely sure why, but just I can't stop laughing at all the doge faces staring at me...
- javajosh 13y agoCool. This version is more challenging since it's hard to remember the ordering of images. Also, I had to cheat to see the "final" image, the derp. That was a motivation, too: I wanted to see what the next image would be!
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- rafeed 13y agoHaha, this is surprisingly easier to get to 2048 than the original 2048.
- kyro 13y agoQuite a coincidence that I see this tonight. I was on the bus today and noticed someone playing a game on their phone, something simple where you have to trace over a pattern as closely as you can. It was frustrating to watch because every time the user wanted to repeat a level or move on to the next, they were forced to tap through a couple of intermediary screens with flashy stats that took up as much time to get through as playing a level. Contrast that to this game where starting over takes me 0.0 seconds. You jump right back into gameplay, forgetting all the frustration that came with messing up on your previous attempt. More games should take note.
- stormbrew 13y agoIncluding the original flappy bird. Drove me nuts.
- catmanjan 13y agoA lot of games use the delay to cause frustration on purpose. Kinda like the old arcade games that didn't have continues.
- ahoy 13y agoAh, but then when will you show users ads, or prompt them to buy 20 gems?
- poopsintub 13y agoIt's a very valid point, but you can't fit everything at once, on the same screen. Current and high score, goals, etc. They add to user experience and satisfaction.
- jasomill 13y agoFor some users, for some games. In many casual games, a "zero-delay" option would be a nice feature, and a nice bonus for a "remove ads" in-app purchase.
- gibybo 13y agoI was thinking the same thing after I failed the first time. Most people might not think of this sort of thing because 'hey, the interstitial shows you important information and it only takes a second', but the ability to just continue immediately after messing up makes the game tremendously more enjoyable.
- sl1e 13y agoOnly issue is when you press up it scrolls all the way up during the game and it gets cut off.
- glennos 13y agoOnly spent 5 seconds playing, but this is brilliant. Well done :)
- deleted 13y ago[deleted]
- vinh0811 13y agoHere is my app for Android: https://play.google.com/store/apps/details?id=com.contrarykid.twos https://play.google.com/store/apps/details?id=com.contraryki...
- cozuya 13y agohttp://i.imgur.com/Hi5CQf6.gif http://i.imgur.com/Hi5CQf6.gif
- anigbrowl 13y agoOK, I LOLed this time.
- hacknat 13y agoI'm sorry, isn't this just flappy bird?
- izzydata 13y agoGot to e+99, now what. Shouldn't it just end at 2048?
- EGreg 13y agoThis was clearly developed on a very large monitor ... because when I press the up arrow, it scroll the document up and I can't see the bottom of the board. I got 8096 btw!
- flaxin 13y agoand the rest of us [1366X768] are left behind i can't believe you got 8096, i got like 8 edit: a new high, 16
- ____miah 13y agoI guess things like this can't be avoided. anyway, great idea, but I think you can add features that let's the flying tile hit numbered tile that can get the score higher. just suggesting. or not.
- nnnnni 13y agoThis is actually significantly better than Flappy Bird because it has ACCURATE hit detection.
- Kiro 13y agoWhy do you think the hit decetion is off in Flappy Bird? I think it's very accurate and fair and that that's one of the reasons it became such a hit.
- nkrba 13y agoZero regrets. http://i.gyazo.com/6dbade70edecb79824bc1ebb70cc7e2d.png http://i.gyazo.com/6dbade70edecb79824bc1ebb70cc7e2d.png