Scorecalculation

Work in progress

This page will hold the score calculations used by the schoolsplay and childsplay activities.
I'm not sure if each activity should have a page of it's own or that we just put everything in one page.

For now I've just put the stuff here.


All score values must be between 0.2 and 10.0


Package: Childsplay_sp

Activity: find_char_sound

Data:

  • Timespend, in seconds -> seconds
  • Number of characters to find -> self.lencharslist

Calculation:

f = 1.4
score = max(0.2, (10 - (float(seconds) / float(self.lencharslist))*f / 2.0 + 1))

Activity: memory (all)

Data:

  • Timespend, in seconds -> seconds
  • Number of cards -> totalcards
  • Number of cards shown more then one time -> cardsturnt

Calculation:

c = 0.7
f = 0.5
score = 8.0 / ( max( float(cardsturnt)/float(totalcards)/1.5, 1.0 ) )**c + 2.0 / ( max( seconds/(totalcards*2), 1.0)) **f

Activity: fallingletters

Data:

  • Timespend, in seconds -> seconds
  • For each wrong character -> + 10 seconds
  • For each missed character -> + 40 seconds

Calculation:

c = 0.7
f = 0.6
score = max(0.2, 10 - ((((seconds/26.0)*c) ** f)-0.8))

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.