Commit Graph

183 Commits

Author SHA1 Message Date
eae66f92f5
Removed getter and setter methods
This change removes the separate getter and setter methods and is causing a lot of errors.
To fix errors you'll now need to use the actual field name.

Example:
OLD:
$reader->getTournament()->getRounds()[0]->getGames()[0]->getBlack()->getPlayer()->getName();

NEW:
$reader->Tournament->Rounds[0]->Games[0]->Black->Player->Name;
2019-11-15 17:17:09 +01:00
ad1f64914a
Америка никогда не существовала
There is no such thing as american scoring. The only american thing in tournament chess is the american pairing system wihich uses some variables to calculate your opponent. One of these was called americanpoints in the original sources of pairtwo. This one was unfortunatly mistaken to really contain an american scoring
2019-10-26 23:27:27 +02:00
fd35603fef
Fixing absent and forfait since tables has been implemented 2019-10-26 14:23:33 +02:00
673821b541
Code style fixup 2019-09-28 21:47:24 +02:00
575b786079
Created function Round::getGamesbyBoard 2019-09-28 21:27:35 +02:00
5314bc47f2
Code style fixups 2019-09-28 21:10:52 +02:00
2eb570ce7c
Implemented setting board if not set yet 2019-09-28 20:54:59 +02:00
1708a54d0a
set board zerobased 2019-09-28 20:52:23 +02:00
0902c30f36
Added default boardno 2019-09-28 20:40:49 +02:00
db9c205bd1
Class fields fixup
Beware of breaking change with own readers!!
AllFieldsAreNowPascalCased
2019-09-28 20:31:38 +02:00
1fbd910ffb
Added board property to Pairing and Game
Added table-property to Pairing:::Class


Added phpdoc blocks


Renamed table to board
2019-09-28 20:18:29 +02:00
2bffc0c293
Ordered use in classes 2019-09-28 10:33:59 +02:00
d9ecb62d0d
DateTime instead \DateTime 2019-09-28 10:28:33 +02:00
9b12fd301b
Documentation fixups 2019-09-28 10:26:18 +02:00
27001faf95
Fixed a Division by zero warning 2019-09-27 18:00:50 +02:00
8ceb8c2f60
Baumbach treated bye as win 2019-09-27 17:42:41 +02:00
e8d5515169
Return 0 if mutual result cannot be used 2019-09-27 17:29:51 +02:00
799c9a831e
Simplified calculating final result 2019-09-27 17:03:58 +02:00
95aab15a58
Reimplemented buchholz score
Ref: FRBE-KBSB Vademecum in dutch page 143 and 145-146
2019-09-27 16:29:29 +02:00
00c79b347c
Added function to calcultate buchholz score 2019-09-27 16:27:39 +02:00
c480d13185
Forfait maens not played as well 2019-09-27 12:02:37 +02:00
4d7fe79108
Remvoed some debug output 2019-09-27 01:07:16 +02:00
4b97a57c8f
Set absent if table equals 0x4000 2019-09-27 01:06:57 +02:00
149edd160e
Fixed wrong opponents 2019-09-26 19:17:43 +02:00
cd430a67ff
Using multiple arbiters in pairtwo-6 reader 2019-09-26 14:52:06 +02:00
75cecbad4e
Using multiple arbiters in swar-4 reader 2019-09-26 14:51:13 +02:00
34a9e43da9
Added posibility to add multiple arbiters 2019-09-26 14:48:55 +02:00
3b2779fe2e
Code style 2019-09-25 19:50:04 +02:00
52079b60bc
Merge branch 'task/reader/swar' into develop 2019-09-25 19:47:35 +02:00
627e9a4263
Add points as very first tiebreak 2019-09-25 19:47:28 +02:00
3ea12b0377
Implemented tiebreaks 2019-09-25 19:40:27 +02:00
8b471c4ffe
Code style fixes 2019-09-25 16:39:46 +02:00
5dbdf92a97
Swar-4 reader ready for beta-testing 2019-09-25 16:33:43 +02:00
802f0d12c1
Added even more 2019-09-25 16:06:13 +02:00
fcc76d2b8e
Removed double Swiss 2019-09-25 16:05:31 +02:00
08140661dd
Implemented results 2019-09-25 14:56:16 +02:00
ae8121959e
Tournament::getbinarydata returning null 2019-09-25 14:55:59 +02:00
c61876c87e
Merge branch 'develop' into task/reader/swar 2019-09-25 14:45:03 +02:00
9c7306ad25
Updated binary data to return null 2019-09-25 14:42:15 +02:00
1e65525b27
Added even more fields 2019-09-25 14:33:52 +02:00
44175fd47d
Merge branch 'develop' into task/reader/swar 2019-09-25 12:33:38 +02:00
e28cff4e8f
Return id instead of elo
Fixes gh-6
2019-09-25 12:27:41 +02:00
264d2ddf81
Reading out even more fields 2019-09-25 12:18:02 +02:00
455d737ed7
Reading tiebreak and exclusion 2019-08-28 20:49:01 +02:00
f925e08c29
Don't read out old swar versions 2019-08-03 13:51:52 +02:00
f491a86ab6
reading out more fields 2019-08-03 13:51:21 +02:00
d131cf403e
Added double swiss as tournament system 2019-08-03 13:50:34 +02:00
7cb1c512a9
Removed debug output 2019-07-16 16:10:53 +02:00
f3de844a4c
Reading out some more fields 2019-07-16 16:07:20 +02:00
ac908ea814
Reading out date fields 2019-07-16 16:06:50 +02:00