Quantcast
Channel: Kwintessential Notes
Viewing all articles
Browse latest Browse all 305

Running in Teams is more fun

$
0
0

So we have a wrap for the “run as a team” (or compete as a team, depending on for what kind of competition you will use the Run4Fun application) functionality. How does it work?

Well you need to have participants and teams registered for an event:

Teams you can register when you check the option in the event:

From there, things work normal as they did. Each participant starts “running” (or doing his thing) and clock the lapse-times.

On the scoreboard however things change:

  • first there is a check if the team option is enabled.
  • if so, the individual score for each participant is calculated
  • then for each team, each score of a team member is aggregated and the team is added to the list.
  • most likely a team will achieve a higher score than an individual, so a team will get a higher ranking. Just see for yourself:

So Team Galaxy beat the Coyotes with a minor differentiation ! Even when the coyotees take position 1 and 2 in the individual scoreboard the team effort of the galaxians was higher.

I also added an icon to visualize a team and an individual. I decided to keep the individuals in the list, so individual achievements are easy to observe.

Some work to finish before dropping the code is to link to a team UI, perhaps an XPage that contains the names of the team members. And some clean up otherwise your server logs will get messy.

BONUS

I added a nice history time-line for an event so you get a nice overview what has happened in time:

I will check how much work it is to apply a history timeline to the other objects.


Viewing all articles
Browse latest Browse all 305

Trending Articles