1
Fork 0

2013 -> 1st: aborted

master
fat0troll 2013-04-21 21:49:14 +04:00
parent a6d0afc43d
commit c6ee030cad
146 changed files with 172 additions and 109 deletions

60
1st/RESULTS Normal file
View File

@ -0,0 +1,60 @@
### LORChess: 1-ый турнир (неоконченный)
Турнир стартовал 03.02.2013 05:50:31
Турнир завершён 21.04.2013 20:52:41
http://www.linux.org.ru/forum/talks/8799973
## Информация
* Количество участников: 23
* Планировалось туров: 46
* Сыграно туров: 6
* Аннулирован тур: 1
* Сыграно партий: 132
* Несыгранных партий: 78
## Участники
* alfix
* doomgl
* dk-
* DNA_Seq
* DoctorSinus
* Felagund
* Genuine
* Google-ch
* HunOL
* J
* LongLiveUbuntu
* Michkova
* onetwothreezeronine
* snoopcat
* redgremlin
* pylin
* Rosko
* shell-script
* Solace
* trex6
* UVV
* XoFfiCEr
* William
* Zodd
## Результаты
* 1: Rosko, Zodd - 15 очков
* 2: Michkova, William - 14 очков
* 3: Genuine, snoopcat - 12.5 очков
* 4: HunOL, J - 10.5 очков
* 5: shell-script, trex6 - 10 очков
* 6: alfix - 8.5 очков
* 7: UVV - 8 очков
* 8: pylin - 7 очков
* 9: redgremlin - 6 очков
* 10: doomgl, DNA_Seq - 4 очка
* 11: DoctorSinus, Felagund, LongLiveUbuntu - 3 очка
* 12: dk- - 2 очка
* Google-ch, onetwothreezeronine - 0 очков
* XoFfiCEr, Solace - выбыли из турнира

63
1st/roundrobin.py Executable file
View File

@ -0,0 +1,63 @@
#!/usr/bin/python2
# -*- coding: utf-8 -*-
def roundRobin(units, sets=None):
""" Generates a schedule of "fair" pairings from a list of units """
if len(units) % 2:
units.append(None)
count = len(units)
sets = sets or (count - 1)
half = count / 2
schedule = []
for turn in range(sets):
pairings = []
for i in range(half):
pairings.append((units[i], units[count-i-1]))
units.insert(1, units.pop())
schedule.append(pairings)
return schedule
# LOR sheduler
players = [
"[user]alfix[/user]",
"[user]aptyp[/user]",
"[user]dk-[/user]",
"[user]DNA_Seq[/user]",
"[user]DoctorSinus[/user]",
"[user]Felagund[/user]",
"[user]Genuine[/user]",
"[user]Google-ch[/user]",
"[user]HunOL[/user]",
"[user]J[/user]",
"[user]LongLiveUbuntu[/user]",
"[user]Michkova[/user]",
"[user]onetwothreezeronine[/user]",
"[user]snoopcat[/user]",
"[user]redgremlin[/user]",
"[user]pylin[/user]",
"[user]Rosko[/user]",
"[user]shell-script[/user]",
"[user]Solace[/user]",
"[user]trex6[/user]",
"[user]UVV[/user]",
"[user]XoFfiCEr[/user]",
"[user]William[/user]",
"[user]Zodd[/user]"
]
tour_count = 0
# Generate LORCODE for pairings.
# Also generate "reversal" for autumm season.
for pairings in roundRobin(players):
tours = (len(players) - 1) * 2
tour_count = tour_count + 1
print "[b]Тур" + str(tour_count) + "[/b]"
print "[list]"
for pair in pairings:
print "[*]" + pair[0] + " играет против " + pair[1]
print "[/list]"
print "[b]Тур" + str(tours - tour_count + 1) + "[/b]"
print "[list]"
for pair in pairings:
print "[*]" + pair[1] + " играет против " + pair[0]
print "[/list]"

View File

@ -7,7 +7,7 @@
11.02.2013 - Zodd 3:0 XoFfiCEr
22.02.2013 - doomgl 0:3 UVV
19.02.2013 - dk- 0.5:2.5 trex6
25.03.2013 - DNA_Seq 1:0 Solace без игры
25.03.2013 - DNA_Seq 3:0 Solace без игры
17.02.2013 - DoctorSinus 0:3 shell-script
16.02.2013 - Felagund 0:3 Rosko
18.02.2013 - Genuine 3:0 pylin

View File

@ -6,8 +6,8 @@
19.02.2013 - alfix 2:1 XoFfiCEr
24.02.2013 - William 3:0 UVV
23.02.2013 - Zodd 3:0 trex6
07.04.2013 - doomgl 1:0 Solace без игры
07.04.2013 - dk- 0:1 shell-script без игры
07.04.2013 - doomgl 3:0 Solace без игры
07.04.2013 - dk- 0:3 shell-script без игры
23.02.2013 - DNA_Seq 0:3 Rosko
04.03.2013 - DoctorSinus 1:2 pylin
07.04.2013 - Felagund 0:0 redgremlin

Some files were not shown because too many files have changed in this diff Show More