Dialed GG

How Scoring Works

Each game uses a different scientifically-grounded scoring model.

๐ŸŽจ Color โ€” CIEDE2000

Your color score is not based on simple RGB distance. We measure how different two colors look to the human eye using the CIEDE2000 formula.

The Pipeline

  1. HSB โ†’ RGB: Both your pick and the target start in HSB space. We convert to RGB as an intermediate step.
  2. RGB โ†’ Lab: RGB values are transformed into CIELAB color space through linearization and chromatic adaptation. Lab is perceptually uniform.
  3. CIEDE2000 (ฮ”Eโ‚€โ‚€): Calculates perceptual distance accounting for hue rotation, chroma weighting, and lightness sensitivity.
  4. ฮ”Eโ‚€โ‚€ โ†’ Score (0โ€“10): Mapped via sigmoid curve. ฮ”Eโ‚€โ‚€ = 0 (perfect match) gives 10.00.

Adjustments

  • Hue Recovery: Correct hue family (within 25ยฐ) earns a small bonus.
  • Hue Penalty: Hue off by 30ยฐ+ on a saturated color loses a fraction.
ScoreMeaning
9.50+Nearly perfect match
8.00 โ€“ 9.49Excellent recall
6.00 โ€“ 7.99Good, noticeable difference
4.00 โ€“ 5.99Moderate mismatch
2.00 โ€“ 3.99Significant difference
0.00 โ€“ 1.99Completely different color

Easy vs Hard

Easy mode uses moderate saturation/brightness (40โ€“90%). Hard mode includes very desaturated and dark colors โ€” significantly harder to recall.


๐Ÿ”Š Sound โ€” ERB Psychoacoustic Model

Your sound score uses an ERB (Equivalent Rectangular Bandwidth) psychoacoustic model โ€” the same perceptual framework used in hearing research.

The Pipeline

  1. Frequency โ†’ ERB-rate: Both the target and your pick are converted from Hz to ERB-rate using: 21.4 ร— logโ‚โ‚€(1 + 0.00437 ร— f). This approximates how the human cochlea perceives pitch.
  2. Perceptual Distance: The absolute ERB-rate difference is normalized against the total playable frequency range.
  3. Dual Gaussian Scoring: We use two Gaussian curves โ€” a sharp one (rewarding near-perfect matches) and a gentle one (giving partial credit). Your score is the higher of the two, mapped to 0โ€“10.

Why ERB?

Human pitch perception is logarithmic, not linear. The difference between 200 Hz and 400 Hz sounds the same as 400 Hz vs 800 Hz โ€” both are one octave. ERB-rate captures this nonlinearity, so your score reflects how different two tones sound, not how far apart their frequencies are in Hz.

ScoreMeaning
9.50+Virtually identical pitch
8.00 โ€“ 9.49Extremely close โ€” excellent ear
6.00 โ€“ 7.99Close but audibly different
4.00 โ€“ 5.99Off by a noticeable margin
2.00 โ€“ 3.99Significantly wrong
0.00 โ€“ 1.99Completely different tone

Easy vs Hard

In Easy mode, the Hz display is visible while you tune. Hard mode hides the frequency readout โ€” you must rely purely on your ears.