5 ms·
Exponent
- tunesmith 12y agoIf you'd like to be mean, make it so there's one way to win, by hitting a certain large score exactly (if you jump over it, you lose), and then have it report the time to get there.
- fredley 12y agoCreator here. Surprised to see this on HN. This was about a morning's work, intended as a joke incremental game. Please don't judge it too seriously.
- Numberwang 12y agoYou are a horrible person, but I finally achieved my goal. http://imgur.com/7tcfZXZ http://imgur.com/7tcfZXZ
- bryanlarsen 12y agoMy most interesting finding was that we started losing precision before switching to exponentional notation. The former happened around the 10^17 mark, the latter around the 10^19 mark.
- readerrrr 12y agoIt would be great to see the formula for the cost for exponents as well. How do you calculate/increase it? It is close to 1.5 times, but not quite, it grows slowly.
- fredley 12y ago[Here's the formula](https://github.com/fredley/exponent/blob/master/main.js#L64 https://github.com/fredley/exponent/blob/master/main.js#L64), I came up with a basic exponential growth equation and tweaked it so that the speed of growth felt about right.
- plesner 12y agoNice work. I really like the simplicity of it. The best strategy I've been able to come up with grows the exponent roughly every 50s: 47s to get to 100, 51s to 1415, and so on. I wonder if there's a way to do it faster.
- bryanlarsen 12y agoAFAICT, the best strategy is to get each factor to 2 as quickly as possible. At least in the area of 10^15, it takes about N to click on 2x10^i and 4N to click on 1x10^(i+1). Since clicking on 2x10^i approximately halves the time to get to 1x10^(i+1), then it takes N + 4N/2 to get to 1x10^(i+1) if you click on 2x10^i first. 3x10^i is an additional 3N. N + 3N/2 + 4N/3 = 3.8N.
- monochromatic 12y agoKind of reminds me of Clicking Bad: http://clickingbad.nullism.com/ http://clickingbad.nullism.com/
- dag11 12y agoIt's like the raw mechanic of Cookie Clicker, sans cookies. And every other game like it. Nice distillation.
- 3rd3 12y agoIs it actually possible to lose the game?
- jokoon 12y agothere is an obvious conspiracy against developers to just prevent them from working in peace. any way to guess how the cost are calculated ?
- pronoiac 12y agoWhat's up with the nowrap CSS? On my iPad, it shows only x10^4 in portrait mode and 10^6 in landscape.
- krallja 12y agoYou should be able to scroll the div horizontally
- templeos2 12y ago1<<20 + 1<<14 + 1<<3 Bit shift is exponent in my compiler. HolyC has an exponent operator. Backward single apostrophy. 2`3