With round 2 of the elimination game set to start on Wednesday, I thought some people would be interested in the scripts I made for the stats.
These are a lot more in-depth than the first round stats, and in particular, use concurrent processing to speed up execution.
It may not be the most efficient of programs (in fact, I'm sure someone will spot bits that are highly inefficient), but I'm quite proud of it none-the-less
The main program is called "elim_start"
This program sets up some global stuff, forks off the parallel processing work for tracking individual users' scores, then does the top-x totals and pulls everything together.
For obvious reasons, I've altered the login credentials of my FTP account 
elim_start
The parallel processing is governed by this wrapper script
parallel
And finally, the per-user tracking script
user_loop
*edit*
The finished product can be seen here
(obviously, it's blank until the game actually starts)
http://www.snoopy.force9.co.uk/dv_elim.html
|
|
Bookmarks