HV Unified simulator
Bug: difficulties.indexOf(difficulty.toUpperCase()) — the array has 'Nintendo' (mixed case) but toUpperCase() gives 'NINTENDO' which doesn't match, so currentIdx = -1 and -1 < suggestedIdx always true. The suggestion kept firing even when already on Nintendo. (IWBTH worked by luck since uppercase == itself.) Fix: case-insensitive findIndex comparison on both sides. |
||
|---|---|---|
| docs | ||
| references | ||
| scripts | ||
| simulator | ||
| src | ||
| .gitignore | ||
| analyze_gear.py | ||