Jump to content

How to organize Auditory Help function in Who wants to be a Millioner game?

- - - - -

  • Please log in to reply
No replies to this topic

#1
Stasonix

Stasonix

    Learning Programmer

  • Members
  • PipPipPip
  • 82 posts
  • Programming Language:C++, PHP, JavaScript, Delphi/Object Pascal, Pascal
  • Learning:C++, PHP, JavaScript, Delphi/Object Pascal
Auditory consist of 76 poeple it's = 100%
coefficient of difficulty of question = 5
watch my live code on fiddle: Edit this Fiddle - jsFiddle - Online Editor for the Web (JavaScript, MooTools, jQuery, Prototype, YUI, Glow and Dojo, HTML, CSS)

all questions is 15

1st question koef_dif = 5
2nd question koef_dif = 10
3d question koef_dif = 15
..
15th question koef dif = 75

I need that voting in the fucntion was equable, for example:
right_question = 60%
wrong_quest = 24%
wrong_quest = 6%
wrong_quest = 10%

and it's all 60%+24%+6%+10% = 100%




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users