Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Making Scores with HiScore

Hakka Labs
February 13, 2015

Making Scores with HiScore

Video here:

Hakka Labs

February 13, 2015
Tweet

More Decks by Hakka Labs

Other Decks in Programming

Transcript

  1. `

  2. Score Distance Size 0 0 1 5 0 25 10

    0 100 20 10 1 50 10 25 60 10 100 65 50 1 90 50 25 100 50 100 Monotone Relationship: (+, +)
  3. import hiscore reference_set = {(0,1): 0, (0,25): 5, (0,100): 10,

    (10,1): 20, (10,25): 50, … } mono_rel = [1,1] hiscore.create(reference_set, mono_rel, minval=0, maxval=100)
  4. S+ > 0 S- = 0 D+ > 0 D-

    = 0 D+ = 0 D- > 0 S+ = 0 S- > 0