They run with simple enough rules, but I'm willing to consider what ways you wonderful PHP-versed folks think will make this system work best per sport.
The sports are quidditch (team vs team), dance (four teams consisting of four characters each, being judged by a panel on group effort), gymnastics (four teams consisting of five individual performances, judged on individual performance) and equitation (based on equestrian three-day eventing).
If you think you'd like to tackle this, or if you'd like to chat to me about it, please get in touch. ^^
Thanks!