Projects / Prospecting Calculator

Prospecting Calculator Web App

A queue-based matchmaking concept with a clean UI and scalable structure.

Overview

The Prospecting Calculator allows players to input their luck and pan capacity to calculate the probability of obtaining specific minerals. It is designed for players of the Roblox game Prospecting (game link can be found here). This web app solves the problem of existing calculators becoming outdated; a previously popular community calculator stopped receiving updates when its creator stopped playing the game.

Key Features

  • Luck-based reroll logic that matches in-game mechanics
  • Calculated the chances of: effective chance per pan, probability of at least 1 drop, and the number of pans needed for a 50% and 90% success rate
  • Location and Rarity-based mineral filtering using JSON data manually compiled via the game's official wiki
  • Responsive, mobile-friendly interface

Tech Stack

HTML Bootstrap CSS JavaScript JSON

What I Learned

Through recreating this calculator, I learned how to model probability using independent rerolls rather than simple multipliers. I also learned how to handle very small probabilities accurately and present complex mathematical results in a clear, user-friendly way through thoughtful UX decisions such as clear labels, rounded outputs, and transparent formulas.

Links

Live Demo (optional) GitHub Repo (optional)

Project Notes

  • Timeline: ~6 hours
  • Role: Solo Developer alongside using the older calculater logic
  • Biggest Impact: Provided the community with an up-to-date calculator with potentially more advanced features to come in future updates