Don't know if this board is only about c++ and stuff, but if someone is bored please answer my question.
Synopsis:
I'll be hosting an internet go tournament with 140 players.
The 140 players will be split into 10 leagues, 14 players each.
The 140 players are of different playing strenghts.
From each player, we know "name", "country" and "rank".
Since in go, "rank" is not a simply rising digit, something like "level" has to be used, too (1=9-dan, 9=1-dan, 10=1-kyu, 20= 11-kyu etc).
So what I want to do, is insert all the data into arrays?(I suppose) and have it be sorted by "level". The order of people with same "rank"(="level") would get randomed.
Now, with a list of 140 players organized by their rank, from best to worst, I want to form the leagues.
I have a predetermined list of which players go to which league, for example League 1 would get players #2, #20, #30, #35, #48, #56, #64, #75, #86, #91, #110, #111, #129, #134.
Doesn't need to be anything fancy, no tables or anything. Just simple echo with <br>'s between players is enough.
Should print something like "Country" "Player" "Rank" e.g.: <br>League X<br><img src="us.gif"> Player1 9-dan<br>Next player...
How do I do this?
I don't care if it's a lot of manual work to add players and all, but as long as it's ready I don't have to do everything again if I have to add/remove players or make corrections.
Would it be smarter to do this with MySql? I have no idea how that works, though.
Seems this is a dead board... Figured out a way to do this already, though.
> 2010-07-18
> 2010-07-18
> 2010-07-18
> Seems this is a dead board...
back to /b/, please.
;; Compiler procedures
(define-signature compiler^
(compile-extensions
compile-extensions-to-c
compile-c-extensions
compile-zos
compile-collection-zos
compile-directory-zos
current-compiler-dynamic-require-wrapper
compile-notify-handler))
;; Low-level extension compiler interface
(define-signature compiler:inner^
(compile-extension
compile-extension-to-c
compile-c-extension
eval-compile-prefix))