On the Subject of Cookie Jars

The cookies in this module are practically identical to real cookies, but if you dunk these ones in milk, you’ll explode.

If your HUNGER bar (at the bottom) ever fills up completely, you'll get a strike. Every time you solve a module, your HUNGER increases. Eat the right cookie to reset your hunger. The module will solve when all cookie jars are empty.

There are three jars that can be cycled through with the arrows. If you click on the jar, you'll take a cookie from it. However, you can't eat a cookie if your HUNGER is zero or if there aren't any cookies in the jar.

In order to figure out which cookie you need to eat, look at the cookies you ate before. If you haven't eaten any cookies, use the first digit of the serial number as the last cookie you've eaten, and the second digit as the second-to-last. The table below has all the types of cookies, their numbers, and the condition that must be true in order to eat them. If none of the cookies can be eaten, eat the cookie with the smallest number.

0 - Chocolate Chip The last two cookies eaten were different.
1 - Sugar The last two cookies eaten were the same.
2 - M&M The last cookie eaten has a smaller number than the cookie eaten before it.
3 - Oatmeal Raisin The last cookie eaten has a greater number than the cookie eaten before it.
4 - Snickerdoodle The last cookie eaten was this cookie.
5 - Peanut Butter The last cookie eaten wasn't this cookie.
6 - Fortune The last cookie eaten and the number of solved modules are either both even or both odd.
7 - Butter The last cookie eaten and the number of solved modules aren't both even nor both odd.
8 - Gingerbread The number of cookies in this jar and the number of solved modules are either both even or both odd.
9 - OREOs The number of cookies in this jar and the number of solved modules aren't both even nor both odd.