PDA

View Full Version : scoring system



3hills
17-07-2015, 01:19 PM
--------------------------------------------------
Topic Transfered from old forum
--------------------------------------------------
Thanks for the great plugin, works better than others I've looked at.

Your scoring system though is much the same as other such programs. Rather than the simple x for a correct score, y for correct result I'd sooner see a method which rewards the accuracy of prediction.
For example, if a game result is 3-3, a player who predicted 0-0 often better rewarded than the player who predicted 3-2. This appears wrong to me - the prediction which was 6 goals away should not be seen as "better" than the prediction which was wrong by a single goal.

My preferred option would be something like ...

No prediction = 0pts

Incorrect prediction = 5pts minus (difference between predicted and actual home score)+(difference between predicted and actual away team score)

Correct prediction = 7pts + Bonus*
*Bonus: If prediction is correct and (homegoals+awaygoals) >2 a further bonus of (hgoals+agoals)-2 is added.
(This is to promote more adventurous predictions)

Written down it looks far more complex than it is!

Examples;
result 2-1
prediction 2-1 = 8 points
prediction 1-0 = 3 pts
prediction 1-1 = 4 pts

result 3-3
prediction 0-0 = (minus) 1 point
prediction 3-2 = 4 pts
prediction 3-3 = 11 pts

Is it possible to enter a formula rather than an integer into each of the correct/incorrect result/score parameters for a league?

If it was possible I could create my scoring method that way.

3hills
17-07-2015, 01:21 PM
--------------------------------------------------
Topic Transfered from old forum
--------------------------------------------------
Hello

thank you for your kind words, we will consider your request in future release , but this change is possible to be made by changing the core code. The code responsible for the score system is located at <joomla directory>/components/com_multileague/models/standings.php

in the function getStandings()

if you decide to make the change by yourself we could help you in some parts.

3hills
17-07-2015, 01:22 PM
--------------------------------------------------
Topic Transfered from old forum
--------------------------------------------------
I'm no php coder, but I may take a look at getStandings() to see if I can configure a solution.

(or of course anyone else reading this who likes the idea?)

Buddy