Ham

Back to projects

ぼっちラブカシミュレーター (Bocchi Loveca Simulator)

Side Project

|

February 2025 - Present

ぼっちラブカシミュレーター (Bocchi Loveca Simulator)

I built this as a web simulator for solo Loveca play — a “smarter dice” that generates scores in a way that feels less fake than plain randomness.

I use a scoring array from src/utils/presets.ts, then calculate each deck result with:

$$ y=\operatorname{round}\left( rac{m}{1+e^{-ax+b}} ight) $$

where:

  • x is a random value,
  • a and b control difficulty (src/utils/index.ts),
  • m is max score.

I chose this shape because Loveca outcomes felt close to binary: either you swing for a strong run / high result, or you fail badly. A flat random model didn’t match that feel.

What it was good for

  • It modeled early-game solo simulation well, when play was still deterministic and low-interaction.
  • It kept me occupied while waiting, giving me a realistic-feeling but quick simulation loop.

What was hardest

  • Tuning the math so it stayed challenging without becoming unfair.
  • Finding parameters that felt fun, not just mathematically neat.

Current status

It’s still a useful solo simulator, though gameplay has evolved and the simulator can drift away from current meta behavior.

Technical details

This is a TypeScript web app, with score math driven by src/utils/presets.ts and src/utils/index.ts.

© 2023-2026 HamP, Assets used in the site belongs to respective owner

|

View Source