Commit Graph

270 Commits

Author SHA1 Message Date
3a681e97d5
NEW FEATURE: Game::getBoard() for getting the board number of the game 2019-09-28 21:49: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
fa30eb9ac3
META: Documentation fixups 2019-09-28 10:34:43 +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
b445f2f301
BUGFIX: Tournament::calculateAverageRating() returned NaN if no games 2019-09-27 18:02:43 +02:00
27001faf95
Fixed a Division by zero warning 2019-09-27 18:00:50 +02:00
dfea5a3cfb
BUGFIX: Tournament::calculateBaumbach() treated bye as won 2019-09-27 17:50:24 +02:00
8ceb8c2f60
Baumbach treated bye as win 2019-09-27 17:42:41 +02:00
a0df232bf4
BUGFIX: Tournament::calculateMutualResult Returned NULL if result not 2019-09-27 17:32:34 +02:00
e8d5515169
Return 0 if mutual result cannot be used 2019-09-27 17:29:51 +02:00
9ddff524d9
ENHANCEMENT: Simplified final buchholz calculation 2019-09-27 17:05:20 +02:00
799c9a831e
Simplified calculating final result 2019-09-27 17:03:58 +02:00
6e43f43a8d
BUGFIX: Buchholz score did not return the correct score 2019-09-27 16:48:48 +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
8483d2556c
BUGFIX: Forfait did not return not played 2019-09-27 12:03:54 +02:00
c480d13185
Forfait maens not played as well 2019-09-27 12:02:37 +02:00
7d09e1be32
BUGFIX: Absent players were not read out properly 2019-09-27 01:08:14 +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
228dc5a350
MAJOR BUGFIX: Wrong opponent was provided in swar-4 reader 2019-09-26 19:50:04 +02:00
149edd160e
Fixed wrong opponents 2019-09-26 19:17:43 +02:00
3cdb4f8e5f
NEW FEATURE: Tournament::getArbiters for multiple arbiters 2019-09-26 15:00:02 +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
fefb089018
BUGFIX: Tiebreaks were not read in swar-4 reader 2019-09-25 19:53:22 +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
a5fb27624e
NEW READER: swar-4 for reading out files created with Swar version 4. 2019-09-25 18:46:33 +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
21a62ac406
ENHANCEMENT: Class::getBinaryData methods return null if field is not 2019-09-25 14:44:00 +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
16ffacfd2f
BUGFIX: Player:GetId returns elo instead of id 2019-09-25 12:31:39 +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
38e67a4261
Added binaryData 2019-07-16 15:58:53 +02:00
d370aad190
Reading out first data 2019-07-15 14:45:49 +02:00
2791a1051f
implemented reader template 2019-07-15 13:47:24 +02:00
21fb6a70bb
Added Swar-4 reader to IOFactory 2019-07-15 13:41:19 +02:00
7f58674f68
MINOR ENHANCEMENT: Better description of Game::class Methods 2019-06-20 23:55:56 +02:00
ae641ade2b
Updated docs 2019-06-20 23:54:50 +02:00
eba9d5788d
Better description of Game::getResult 2019-06-20 23:47:36 +02:00
b93ca781b4
MAJOR BUGFIX: Game::GetResult throws fatal error Cannot access parent:: when current class scope has no parent 2019-06-20 23:30:58 +02:00
2b9337535b
Fixed fatal error
Cannot access parent:: when current class scope has no parent
2019-06-20 23:14:50 +02:00
6324417b0f
CHANGE: Kashdan and Soccer Kashdan are combined in 1 function 2019-06-20 15:39:37 +02:00
922c1cfdbc
ENHANCEMENT: Better Docs generation
* NEW FEATURE: Added clean-dist and clean-dev targets
* ENHANCEMENT: Resized logo in Doxygen for better fit
* ENHANCEMENT: Doxygen takes branch name or version tag as `PROJECT_NUMBER`
* CHANGE: Version tag directly put in distribution filename
* CHANGE: `Tournament::GameExists()` renamed to `Tournament::gameExists()`
* CHANGE: Updated composer metadata
* CHANGE: Some setters changed to fluent setters. (More info: 7aca35057c10d2b982f93a698499c0c01df2fdc5)
2019-06-20 15:32:59 +02:00
e2bc4cb063
Combined kashdan and soccer kashdan 2019-06-20 15:29:02 +02:00
db989487a1
Updated docs 2019-06-20 15:03:37 +02:00
50a97ad572
Renamed GameExists to gameExists
Normalization
2019-06-20 14:41:46 +02:00
ab6afa89ce
Implemented fluent setters 2019-06-20 14:25:44 +02:00
ea365c9e83
Removed Round methods from Game
Probably follow-up to 8fe7bc73ee28fe1cbe572e3ccec97fe40b679188
2019-06-20 13:52:37 +02:00
71838dad55
MAJOR CHANGE: Model Classes has been removed
CHANGE: Replaced PhpDoc with Doxygen
2019-06-19 21:55:20 +02:00
b0d194daca
Better PHPDoc generation. Also removed the models 2019-06-19 21:46:23 +02:00
663951a9cc
BUGFIX: Tournament::getParticipants() did not return a correct value 2019-06-18 16:01:15 +02:00
1f3e381049
Reimplemented getParticipants
Possibly historic field that became unused
2019-06-18 15:57:42 +02:00
f6435320fd
NEW FEATURE: Libpairtwo distribution releases
use make distro to create a distribution
2019-06-18 15:42:23 +02:00
f1b4d68e2f
Fixed exception to be in correct namespace 2019-06-17 15:38:51 +02:00
3ea4a01d20
NEW FEATURE: Soccer Kashdan (aka: kashdan using 3-1-0 scoring) 2019-06-05 15:03:52 +02:00
6e79f3804a
CHANGE: Deprecated sws::class was removed 2019-06-05 15:02:36 +02:00
93752af11c
Merge branch 'task/soccer-kashdan' into task/remove-swsclass 2019-06-05 15:00:30 +02:00
bfa8e062f3
Added SoccerKashdan as supported Tiebreak 2019-06-05 14:57:37 +02:00
1eb02506cf
Sws Class got removed 2019-06-05 14:56:53 +02:00
c692baa1e0
Added total games 2019-06-05 13:38:41 +02:00
3326c978ed
NEW FEATURE: Added possibility to get played games 2019-06-05 13:37:37 +02:00
48313dc256
BUGFIX: Buchholz fixed 2019-06-05 13:24:31 +02:00
2ae173a6c9
Fixed buchholz tiebreak (once again) 2019-06-05 13:15:00 +02:00
605c7819d2
BUGFIX: mutual result did not take care of all previous tiebreaks 2019-06-05 13:06:22 +02:00
0987522121
Mutual result takes care about all previous tiebreaks 2019-06-04 16:49:05 +02:00
112240a038
BUGFIX: Round::getBye() did not return bye players 2019-06-04 15:37:06 +02:00
11b07f07d0
Fixed getBye to return wonBye players 2019-06-04 15:35:21 +02:00
9f0f8999ec
ENHANCEMENT: Offcial kashdan
Reimplemented official kashdan tiebreak. Please review https://github.com/JeroenED/libpairtwo/wiki/3.-Kashdan-tiebreak for more info
2019-06-03 12:32:56 +02:00
91ea4c7a64
Reimplemented official kashdan tiebreak 2019-06-03 12:30:14 +02:00
89e4e6c121
MAJOR UPDATE: Generalization + Tiebreaks 2019-06-01 16:39:58 +02:00