07c3a8ad21
Implemented kashdan
2019-05-30 21:24:22 +02:00
5128d2762e
Implemented Sonneborn-Berger
2019-05-30 21:18:30 +02:00
eba962a11c
Implemented buchholz
2019-05-30 21:14:01 +02:00
587a7a2e08
Implemented Player::getPerformance()
2019-05-30 21:10:31 +02:00
6d4eeff234
Implemented koya tiebreak
2019-05-30 21:07:05 +02:00
4672c91298
Moved points tiebreak to return Player::getPoints()
2019-05-30 21:02:31 +02:00
9bf31b7ec5
Added some useful functions
2019-05-30 21:01:30 +02:00
374e339353
moving constant arrays to a separate class
2019-05-30 20:56:14 +02:00
08f42adc26
Implemented Aro Cut 1
2019-05-30 08:33:52 +02:00
34a5696ff3
Some documentation and bugfixes
2019-05-30 08:33:16 +02:00
97a28a3c4d
Added getElo() and getId() function
2019-05-29 18:24:20 +02:00
d9aebfd90c
Added average rating calculation
2019-05-29 17:57:42 +02:00
04f864416d
Working ARO tiebreak
2019-05-29 17:56:42 +02:00
d49c8d673c
Changed kbsb elo to home elo (not everyone lives in belgium)
...
Thanks god they don't.
Also changed fide elo to world elo
2019-05-29 17:55:28 +02:00
526be12303
Working tiebreaks
...
Also:
* Added mutual result
* Reimplemented points tiebreak
2019-05-29 15:48:23 +02:00
f9f5e0d554
GameModel::getResult can also return null
...
Fixes: Fatal error: Uncaught TypeError: Return value of JeroenED\Libpairtwo\Models\Game::getResult() must be an instance of JeroenED\Libpairtwo\Enums\Gameresult, null returned
2019-05-28 21:06:06 +02:00
6d61d2a650
Added some tiebreaks
2019-05-28 18:07:43 +02:00
865893b30f
Moved tiebreaks to own class
2019-05-28 17:04:53 +02:00
74688ac8b8
Implemented first tiebreaks
2019-05-28 16:26:03 +02:00
4f15eb0c9f
Removed some fields that are not interesting enough
2019-05-28 15:30:55 +02:00
aeb9f76adb
Merge branch 'bugfix/ReaderInterface-no-gettournament' into develop
2019-05-28 14:13:40 +02:00
e92240d56f
Replaced setters by fluent setters
2019-05-28 14:10:42 +02:00
c2f698df8a
Reader-Interface requires getTournament
2019-05-28 13:46:52 +02:00
3b5b42b46d
ENHANCEMENT: Compatibility with Pairtwo-5
...
Filestructure of pairtwo-5 files are identical to pairtwo-6
2019-05-28 10:20:06 +02:00
0d2b25fbef
BUGFIX: Match not played does not return error
2019-05-28 10:18:58 +02:00
d6c4e99983
Merge branch 'task/pairtwo-5-reader' into develop
2019-05-28 10:17:45 +02:00
efc3c35024
Added compatibility with Pairtwo-5
2019-05-28 10:16:34 +02:00
4076b4e69c
Fixed reading out no result
2019-05-28 10:07:40 +02:00
a70a9fcda3
Code style
2019-05-27 21:46:39 +02:00
057e35f1da
Added reading out the order of tiebreaks
2019-05-27 21:45:19 +02:00
acaef62332
MAJOR ENHANCEMENT: Generalisation
...
This is a first step in generalisation of the project. Please review https://github.com/JeroenED/libpairtwo/wiki/Converting-your-code-to-the-generalized-format for more info on your code changes
2019-05-27 13:15:49 +02:00
8e06bb21dc
Added link to generalization migration
2019-05-27 13:11:22 +02:00
ba3bbcdb69
Models are abstract
2019-05-27 13:06:35 +02:00
10f658532d
Added Exceptions
2019-05-27 13:01:53 +02:00
6ac07927af
Added IOFactory
2019-05-27 13:01:37 +02:00
8fee2c6746
Deprecated Sws::ReadSws
2019-05-27 13:00:33 +02:00
74d027e8d1
Added Reader for Pairtwo-6
2019-05-27 12:58:53 +02:00
f645636d29
Added reader interface
2019-05-27 12:37:59 +02:00
efe7c0e6b4
NEW FEATURE: Absent and Bye players
...
2 new functions added:
Round::GetBye(): array and Round::GetAbsent():array
Both returns an array of Pairing objects with Bye or Absent pairings
2019-05-13 20:11:17 +02:00
4f8e524c71
Added getAbsent and getBye functions to Round
2019-05-13 20:03:21 +02:00
0b4bcf5321
ENHANCEMENT: check current round of pairing instead data to check dummy
2019-05-11 15:36:27 +02:00
e181bfefce
Better way to check if pairing is dummy
2019-05-11 15:35:13 +02:00
5abc1ca8d3
ENHANCEMENT: No pairing object if pairing is dummy
2019-05-01 19:56:49 +02:00
f8a8f86ce9
Do not make a pairing object if object is not a pairing
2019-05-01 19:55:37 +02:00
516740643e
BUGFIX: Player::getPairings() return null
...
PHP Fatal error: Uncaught TypeError: Return value of JeroenED\Libpairtwo\Models\Player::getPairings() must be of the type array, null returned in vendor/jeroened/libpairtwo/src/Models/Player.php:372
2019-05-01 17:26:21 +02:00
1c2312f258
Added default value to Pairings object
2019-05-01 17:24:06 +02:00
fbe6009bd6
Merge branch 'task/get-player-by-name' into develop
2019-05-01 16:05:06 +02:00
e1388056ca
Added function to get Players by Name
2019-05-01 16:04:37 +02:00
1e6858d18b
New feature: get pairings from round objects
2019-05-01 15:50:44 +02:00
7bfb68da55
Added pairings to round objects
2019-05-01 15:49:12 +02:00
7f0c7c9350
Updated code style
2019-04-25 15:40:16 +02:00
1df8349b46
Updated code style
2019-04-25 15:39:21 +02:00
b265e4c23d
Added pairings to player object
2019-04-25 14:14:40 +02:00
7bafdc6d5f
Updated phpdoc
2019-04-25 14:09:50 +02:00
5625e0c7c0
Reimplemented creation of results
2019-03-20 12:46:46 +01:00
728c25961d
Typo
2019-03-19 20:42:37 +01:00
3f44bc6f01
Not using literal values for Result
2019-03-19 16:47:19 +01:00
d4d774aae6
Typo
2019-03-19 16:42:49 +01:00
66cc09670d
Not using literal values for Color
2019-03-19 16:41:39 +01:00
1496d77866
Not using literal values for Gender
2019-03-19 16:41:39 +01:00
a2a0f99b14
Replaced pairtwo Tournament System Values for generic Values
2019-03-19 16:37:10 +01:00
e0da8a71cd
Replaced Pairtwo Title Values for generic Values
2019-03-19 16:36:49 +01:00
7b6962843c
Replaced Pairtwo Color Values for generic Values
2019-03-19 16:36:49 +01:00
bad50fc75c
Get rid of Pairtwo Values in favor of generic ones
2019-03-04 12:07:43 +01:00
7fb94aaf00
Renamed Sex to Gender
2019-03-04 11:51:06 +01:00
ce6e501043
Implemented reading out round dates
2019-02-12 18:05:37 +01:00
512aebdc70
Fixed reading tournamentyear
2019-02-12 18:04:12 +01:00
5730f2c089
Reading strings as UTF-8
...
Solves issue GH-1
2019-02-12 15:37:53 +01:00
b61d9d577c
Updated issue_template
2019-02-12 14:33:03 +01:00
d6bcf66b4d
String are being trimmed now
...
And added default values as well
2019-02-12 14:10:50 +01:00
b478d99d05
Added conversion of pairings into rounds
2019-02-11 22:41:44 +01:00
99ccb56aeb
Updated some more phpdoc
2019-02-11 17:58:58 +01:00
8c6e3b81fa
Fixed code style
2019-02-11 17:37:30 +01:00
64e47ff606
Updated phpdoc
2019-02-11 17:27:26 +01:00
b6c72e9021
Reading out pairings
2019-02-11 16:43:36 +01:00
682cf386b6
Added tournament year and rounddates
2019-02-11 16:42:20 +01:00
7d83534984
Typo
2019-02-06 20:54:07 +01:00
492b9e8d20
Better to set while reading sws
2019-02-06 20:47:46 +01:00
dcca8fe39e
Fixing an issue
2019-02-06 20:34:09 +01:00
d1d4806b0b
Updated to support american sorting
2019-02-06 20:10:52 +01:00
2bc179c0bb
Fixed issue where points are doubled
2019-02-06 20:10:07 +01:00
93125bb79c
Better sorting function
2019-02-06 18:22:25 +01:00
c9d5407f0c
fixed little mistake
2019-02-06 17:56:48 +01:00
e7e5a9406b
Removed debug output
2019-02-06 17:42:53 +01:00
e367e8929b
added getting a ranking of players
2019-02-06 17:24:10 +01:00
82370b25d7
Added a reading of rounds
...
not finished yet
2019-02-06 17:23:37 +01:00
830b21afa2
Reading playernames
2019-02-01 17:03:34 +01:00
9f2845fc53
Updated phpdoc
2019-02-01 15:55:44 +01:00
17c924b45c
Added some more fields
2019-02-01 15:55:34 +01:00
35f47f268f
Added datatype Date
2019-02-01 15:55:13 +01:00
a71b77edd5
Models in Models, logic in src
2019-02-01 15:53:39 +01:00
97044491f4
Enums in enum namespace
2019-02-01 15:51:35 +01:00
4ae5976f81
Implemented a more straightforward way to read data
2019-01-31 18:37:06 +01:00
27f32eb21c
Changes 2019/01/25
...
* Moved enums to separate namespace
* Added Player class
2019-01-25 17:31:23 +01:00
81b92ecde3
Finalized reading of tournament data
2019-01-19 14:14:53 +01:00
2d4bc8805a
Str_replace replaces every occurence
2019-01-19 13:30:28 +01:00
584492f5f4
Reading out several tournament fields
2019-01-18 18:11:53 +01:00
6341b7740b
several corrections
2019-01-18 18:10:56 +01:00
c6aedc8a90
Updated phpdoc
2019-01-18 14:18:52 +01:00
471f17da2f
First reads of binary data
2019-01-18 14:17:43 +01:00
55544f5f62
Updated to a more usable schema
2019-01-16 18:03:07 +01:00
98dd8c9739
Added reading of sws release
2019-01-10 20:05:23 +01:00
c4997ad024
Initial commit
2018-12-24 14:06:13 +01:00