Legacy prototype
The first Python and Flask version supported weighted encounters and shiny odds. It also exposed problems: actions needed a server round trip, route totals were not validated and Auto Hunt blocked other work.

I started ShinySim as a small Flask experiment inspired by Pokémon shiny hunting. I rebuilt it to explore encounter probability, real game data and a clearer simulation interface.
Visit Site
The first Python and Flask version supported weighted encounters and shiny odds. It also exposed problems: actions needed a server round trip, route totals were not validated and Auto Hunt blocked other work.

I moved the simulation into a TypeScript layer separate from React. Typed routes and results made the rules clearer. Controlled random inputs made tests repeatable, while validation checked that encounter probabilities added up correctly.
I made the current encounter the main focus, with controls, history and settings around it. Watched Hunt, Auto Hunt and Stop remain separate actions.

The PokéAPI adapter filters encounters by game and method, excludes unsupported conditions and combines duplicate slots. The editor distinguishes provider data from changes made by the user.

Each game uses its own rules rather than one shared shiny rate. Where supported, users can enable the Shiny Charm and see the resulting probability.

The documented audit checked 18,479 candidate contexts and retained 5,306 selections across 26 games. It excluded incomplete records, unsupported conditions and guaranteed acquisitions instead of presenting them as ordinary hunts.
The final workspace supports game and method search, route loading, editable encounters and bounded history. At this checkpoint, 116 automated tests covered the rules, data and hunt behaviour. The main lesson was that clear controls only help if the underlying encounter data is trustworthy.
