# Fossil Clicker (my Prehistoric Game Jam submission)

**URL:** <https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524>\
**Category:** Show & Tell\
**Tags:** game\
**Created:** [July 28, 2023, 4:38pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524 "2023-07-28T16:38:41Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [February 20, 2024, 8:59pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/43 "2024-02-20T20:59:29Z")

</div>

I believe Nan is not infinity because with my ohms law calculator I got it to say infinity when the current is 0 and voltage is anything over zero. And you only get Nan when you don’t put in any input. I might be wrong tho

---

<div class="post-metadata">

**Author:** ![YuminCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yumincoding/32/11482_2.png) [@YuminCoding](https://forum.makecode.com/u/YuminCoding)\
**Post date:** [February 22, 2024, 5:38pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/44 "2024-02-22T17:38:34Z")

</div>

What???  
It is you just saying may this can be an error?  
😵‍💫

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [February 22, 2024, 5:46pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/45 "2024-02-22T17:46:13Z")

</div>

me not touching grass:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/c9edd724b9703a02d60c1864fcf7286d18005224.png)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [March 1, 2024, 10:14pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/46 "2024-03-01T22:14:47Z")

</div>

Replying to @ChimbroDaPro in [this](https://forum.makecode.com/t/channel-0-makecode-news/27349/4) thread:

By the way, the debug mode gives a crap ton of money so I could test towers and upgrades, etc. Since it’s debug mode I disable saving. 😁 This is not a bug.

---

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [March 1, 2024, 11:58pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/47 "2024-03-01T23:58:47Z")

</div>

Ohhhh… I get it lol 🤣

---

<div class="post-metadata">

**Author:** ![YuminCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yumincoding/32/11482_2.png) [@YuminCoding](https://forum.makecode.com/u/YuminCoding)\
**Post date:** [March 24, 2024, 3:27am UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/48 "2024-03-24T03:27:16Z")

</div>

![스크린샷 2024-03-24 오전 9.53.52](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/07941720461931cec7f7ace371ae49c22ea47e67.png)  
still 💀💀💀  
someone can help assist read that over 10 trillion vigintillion number?  
so make new unit here please.

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [April 11, 2024, 4:46pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/49 "2024-04-11T16:46:48Z")

</div>

Hey @UnsignedArduino I just made something super cool in fossil clicker.

> **[Fossil Clicker](https://arcade.makecode.com/S56693-57410-44258-82311)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

The numbers can go up to a centillion now.  
However the fossils per second ended at 19.65 septendecillion. I assume that’s a limit you made for the game. I can’t figure out how to change it.

---

<div class="post-metadata">

**Author:** ![YuminCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yumincoding/32/11482_2.png) [@YuminCoding](https://forum.makecode.com/u/YuminCoding)\
**Post date:** [April 23, 2024, 1:36pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/50 "2024-04-23T13:36:41Z")

</div>

WA! thank you @RobbyZero I Really wanted to.  
Realllllllllly thank you!!!  
😂 😂 😂 😂 😂 😂

---

<div class="post-metadata">

**Author:** ![GraysonB0](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@GraysonB0](https://forum.makecode.com/u/GraysonB0)\
**Post date:** [June 10, 2024, 6:04pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/51 "2024-06-10T18:04:50Z")

</div>

@UnsignedArduino I was wondering if you would be able to help me understand you’re code. I ask because I’m trying to make a clicker game myself.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [June 10, 2024, 6:11pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/52 "2024-06-10T18:11:31Z")

</div>

If there are any parts that you are specifically confused on, let me know!

The upgrade system is quite…difficult to comprehend as you have to define an upgrade as a string…

---

<div class="post-metadata">

**Author:** ![GraysonB0](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@GraysonB0](https://forum.makecode.com/u/GraysonB0)\
**Post date:** [June 10, 2024, 6:38pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/53 "2024-06-10T18:38:34Z")

</div>

I don’t really understand well. any of it… I’ve only made a few project for my computer science class but your game is too advanced for me, my friend understands it but I want you to teach me, lol

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [June 10, 2024, 7:07pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/54 "2024-06-10T19:07:20Z")

</div>

There are quite a few functions, but most are related to managing the GUI and menus. The main part of it is in `recalculate_fossils_per_second` which checks how many “towers” you have, adds up their “FPS” (fossils per second), and adds in multipliers by checking in all the upgrades you’ve bought. The upgrades are defined from a string in the format of “\<title\> | \<description\> | $\<price\> | \<thing\_to\_multiply\>\*=\<amount\_to\_multiply\_by\>”, any upgrades you own are moved to the `upgrades_purchased` array.

In the on game update loop, it first `recalculate_fossils_per_sec()`, then it changes the money by the fossils per second times the fossil price times the time since the last money update:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/8959ad5f0d82fbbbec0d0e479d74ea6a458dfa71.png)  
Since our fossils per second is based in seconds and our game loop runs faster than a second most of the time, we see how much time it’s been since the last update (with `last_money_update`, we can compare the `time since start (ms)` which is in milliseconds) and then use that as a multiplier.

---

<div class="post-metadata">

**Author:** ![rkennedy2016](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rkennedy2016/32/14419_2.png) [@rkennedy2016](https://forum.makecode.com/u/rkennedy2016)\
**Post date:** [October 14, 2024, 2:10am UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/55 "2024-10-14T02:10:50Z")

</div>

i think im 1st place 😀 😀 😀

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/3/43e3cb4de06c3099315e451ab6b71ba0941e0f5f.png)

---

<div class="post-metadata">

**Author:** ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)\
**Post date:** [October 14, 2024, 2:24pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/56 "2024-10-14T14:24:32Z")

</div>

Child labo-

(This is just a joke)

---

<div class="post-metadata">

**Author:** ![issac](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@issac](https://forum.makecode.com/u/issac)\
**Post date:** [June 3, 2025, 6:49pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/57 "2025-06-03T18:49:36Z")

</div>

baby numbers

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/9/09a52c152afb5a473e9b4a6d9e263d1b457bac2f.png)

---

<div class="post-metadata">

**Author:** ![JeffLikesFish](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JeffLikesFish](https://forum.makecode.com/u/JeffLikesFish)\
**Post date:** [December 7, 2025, 11:08pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/58 "2025-12-07T23:08:53Z")

</div>

Does anyone else have a problem downloading the files? I have an Xtron Pro and I’ll hit “Download” and it loads for a second, then it says dowloaded for a second, but then goes back and no files ever show up.

---

<div class="post-metadata">

**Author:** ![happyhappyhappy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/happyhappyhappy/32/32933_2.png) [@happyhappyhappy](https://forum.makecode.com/u/happyhappyhappy)\
**Post date:** [June 15, 2026, 9:51pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/59 "2026-06-15T21:51:18Z")

</div>

wow! how long did that take

---

<div class="post-metadata">

**Author:** ![happyhappyhappy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/happyhappyhappy/32/32933_2.png) [@happyhappyhappy](https://forum.makecode.com/u/happyhappyhappy)\
**Post date:** [June 15, 2026, 9:51pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/60 "2026-06-15T21:51:25Z")

</div>

![Screenshot 2026-06-15 141542](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/3/6/3636e4f22160c3b537374f37713407ca98c326db.png)

---

<div class="post-metadata">

**Author:** ![happyhappyhappy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/happyhappyhappy/32/32933_2.png) [@happyhappyhappy](https://forum.makecode.com/u/happyhappyhappy)\
**Post date:** [June 18, 2026, 1:52am UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/61 "2026-06-18T01:52:28Z")

</div>

![Screenshot 2026-06-16 090611](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/c/ec559c2ce8ec69511e760f3fc0ec7e581d7d9bf9.png)

---

<div class="post-metadata">

**Author:** ![happyhappyhappy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/happyhappyhappy/32/32933_2.png) [@happyhappyhappy](https://forum.makecode.com/u/happyhappyhappy)\
**Post date:** [June 18, 2026, 4:45pm UTC](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524/62 "2026-06-18T16:45:27Z")

</div>

![Screenshot 2026-06-18 085100](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/d/bdddadafc63c2ffb0a2abebbd480706721ea7d34.png)i left this alone overnight

[Previous page](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524.md?page=2)

[Next page](https://forum.makecode.com/t/fossil-clicker-my-prehistoric-game-jam-submission/21524.md?page=4)
