プロジェクト一覧へ
Side Project
|
2025年 2月 - 現在
タグ
:
hamproductions/loveca-solo-simulatorI 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.
It’s still a useful solo simulator, though gameplay has evolved and the simulator can drift away from current meta behavior.
This is a TypeScript web app, with score math driven by src/utils/presets.ts and src/utils/index.ts.