A simulator for the game "The Bazaar". My proudest work so far!
I contributed to several areas of Bazaar Engine, refactoring both the engine and the UI.
For the UI, I migrated to shadcn/ui and Tailwind. Under the hood, I restructured the engine to be more modular, introducing an event bus and the command pattern to make feature development and maintenance much cleaner.
I also experimented (and struggled) with web workers to offload heavy computations and substantially speed up the RNG computations.
One of my favorite aspects of this project was diving deep into how complex card interactions are implemented. Deconstructing the engine’s logic and reading through the raw card JSONs for reverse engineering was both challenging and rewarding.