Candy

Candy has many uses in the game. At the beginning of the game, the only option you may select is "eat all the candies". After saving up 10 candies, they may be thrown on the ground. To unlock the rest of the game, 30 candies must be saved up to "request new features from the developer" in order to unlock the menu and primary features of the game.

When you reach a candy count of 42, `\o/` will briefly flash to the right of the counter. This is most likely a reference to The Hitchhiker's Guide to the Galaxy, a book in which the answer to the question of everything is revealed to be 42. When 1337 candies are reached, the counter displays `leet` instead.

If you eat candies later in the game, you increase maximum health points. Due to the formula used, you can only increase your base HP to 1000 by eating candies, which takes 2,673,845 candies - any eaten beyond here will have no effect on your health. Eating additional candies after that will increase your rate of HP regeneration, up to a max of 500 hp/s (after 2,485,843,240 candies eaten), when out of combat.

"eaten" formulas (where `exp(x)` is e raised to x)

* Max HP (min:100, max:1000):[1] `100 + ceil((1-exp(-eaten/3000))*100) + ceil((1-exp(-eaten/400000))*800)`
* HP regen per second (out of combat) (min:1, max:500):[2] `ceil((1-exp(-eaten/400000000))*500)`

## Hit Points

Slightly rounded - This many candies *will* get this many HP, but you might get away with a few less candies. This is before the bonus from the heart plug.

 1875
 3450
 6275
 26,000
 53,500
 116,000
 190,000

## Farming Candies

Note: this is a mid-to-late game technique.
SPOILER ALERT IN THIS PARAGRAPH

##### Best AFK farming method (~2,700,000 candies/minute)

With the Boots of Introspection, the Enchanted Knight Armor, and the Merchant's Hat, one can farm around 2.75 million candies at the Castle Entrance every minute by using the black demon spell. The efficacy may rely on having a low magic cooldown, however. Farming The Devil increases profit by a factor of 5, but requires the player to continually restart the mission every time the devil is killed.

you need: the Giant Spoon, the merchants hat, Boots of Introspection. (Using the unicorn horn and pink enchanted gloves will make it an afk strategy.)

Visit the Castle Entrance quest and use Health Potions when needed. (However, unicorn horn and enchanted gloves will recover HP fast enough to make this a afk strategy.) The merchant's hat multiplier will rake in a lot of candies. You can also use Black Demons for faster candy-making.

##### Best active farming method (252,000,000+ candies/minute)

This method consists of repeatedly defeating The Developer, who yields 7,000,000 candies per victory (42,000,000 with the merchant's hat). It is possible to farm candies extremely quickly once you get used to the process, as the less time taken per victory, the higher the throughput. 10 seconds per victory, about the fastest possible rate, would yield 252,000,000 candies/minute.

You need:

* Heart pendant and Heart plug, plus about 2.7 Million candies eaten to reach the required 1560 Max HP
* Knight body armour and a large supply of turtle potions to minimize damage taken by black hole
* Access to The Dragon in The Castle
* Candy Merchant's Hat to multiply production by 7x (can be bought after first victory)

To farm The Developer as fast as possible, this method uses the black hole strategy, but with a few adjustments to optimize for speed.

The root of the method is:

1. Talk to the dragon (choosing Fame) to enter the Developer bossfight
2. Wait until the player is very close/touching the Developer
3. Drink the Turtle Potion
4. Use any spell that causes him to spawn a black hole (Erase Magic, Obsidian Wall, Black Demons, Black Hole)
5. Watch him completely disappear out of existence
6. Once you achieve victory, exit to the map and wait until you are fully healed
7. Repeat

After the first victory, you should immediately buy the Candy Merchant's Hat if you don't own it yet.

for the first few victories, you will want to eat all the candies you earn to increase your health regeneration rates, which allows you to repeat the bossfight more frequently. As a general goal, 420 Million candies eaten (10 victories' worth in rewards) grants 326 HP/s, which is more than enough to fully heal 1560 HP in 5 seconds. You can eat less if you're willing to wait a bit longer between each bossfight.

For bonus optimizations (these are very small, only if you like min-maxing):

* The extra regeneration effects of the Unicorn Horn and Pink enchanted gloves may help you shave off a few seconds by regenerating while reaching the Developer in the quest instead of in the map.
* You can use Rocket Boots together with the Teleport spell to help approach the Developer's body slightly faster (on average). Make sure to jump after the teleport otherwise you will lose your horizontal movement. You must either have Magical purple shark fin or enough Pains au chocolat spent on "Magic" so that using the Teleport spell won't prevent you from triggering a black hole.

## Throwing candies on floor

To start, you need at least 10 candies to throw. When you start throwing them at first, not much will happen, except for an animation. It takes 1,000 candies on the floor for the side-quest to properly start. You can not do the side quest if the talking candy is there. The smiley will say things to you, dig a hole in which he finds a large room with a chest in it (you will get a Chocolate bar from there if you throw 1630 candies). After throwing 2220 candies on the ground, the smiley finds a room full of giant candies. Throwing further candies on the ground will do nothing, and the smiley will just keep eating the giant candies and saying \*nom\*.