Commit graph

105 commits

Author SHA1 Message Date
7289dce5d9
Implement restrictions for time of games 2023-11-24 18:37:33 +01:00
d8ef86dcfe
some cleanup 2023-11-24 17:28:40 +01:00
a377dd74af
Implement correct values for rating system
Added k-factors to config.
Implemented the season 0 rating change logic.
2023-11-24 17:15:38 +01:00
a6c96c7b04
some log output 2023-11-24 15:09:21 +01:00
613bb108a7
Proper caching of player history 2023-11-24 13:14:01 +01:00
94d698ad14
Compute current streaks for statistics 2023-11-24 13:12:41 +01:00
9ba98a1f47
fix naming: {current -> maximum} streak 2023-11-24 12:43:26 +01:00
058d87f5bf
Add comments to DB queries for statistics 2023-11-24 12:33:57 +01:00
18607699c9
stats: add number of lost crits 2023-11-24 12:22:53 +01:00
ddd751f0f3
Add code to analyze all games for bdrs
Also update stats code to accumulate these into the user stats
2023-11-24 12:19:37 +01:00
852f2ea329
add more user statistics 2023-11-24 11:42:37 +01:00
bb3be235d9
compact DB queries 2023-11-24 11:21:24 +01:00
cc08f032e3
Calculate streak lengths for users 2023-11-24 11:12:58 +01:00
729dbb9085
Stats: Compute played and won games 2023-11-23 22:05:46 +01:00
16105d1965
stats: implement total number of moves 2023-11-23 21:33:32 +01:00
cabec71e4f
add function to process all games for rating 2023-11-23 18:38:34 +01:00
4d6fedf768
uniform naming 2023-11-23 18:34:25 +01:00
9a8318bc6d
Update database schemea: add stats 2023-11-23 18:31:59 +01:00
4e0b624c3f
add bdr/statistics parser 2023-11-23 18:11:34 +01:00
12434f7c27
Move files into src folder 2023-11-23 17:03:36 +01:00
89a38784ed
Fix bug: User ratings not retrieved correctly 2023-11-23 16:19:10 +01:00
f0b658f290
Improve some comments/output 2023-11-23 16:04:30 +01:00
adccdf737b
Implement rating change updates to DB
Still missing: The actual function to calculate the rating change
2023-11-23 15:55:03 +01:00
bbb2b19df0
Starting rating implementation: Fetch current ratings 2023-11-23 15:24:33 +01:00
072d450fe6
Add retrieval methods for actions and decks 2023-11-23 14:00:25 +01:00
157342b6c8
sort entries 2023-11-23 13:41:42 +01:00
115623142d
Add function to fetch game details for all games 2023-11-23 13:39:03 +01:00
7fdee4bae0
Store actions and deck to database 2023-11-23 13:18:38 +01:00
07aba5fefb
add TODO 2023-11-23 12:56:02 +01:00
56524cd28e
Fetch details of game: Added player seats 2023-11-23 12:52:56 +01:00
7426f8018a
Add PyHanabi as git submodule 2023-11-23 09:30:08 +01:00
059521ea47
start implementation of fetching game details 2023-11-23 09:28:13 +01:00
a15059318c
Initialize player base ratings on sign-up 2023-11-23 01:36:23 +01:00
78a43d7d24
Initialize base ratings for variants 2023-11-23 01:18:26 +01:00
1e7c6ebcf7
Improve output 2023-11-23 00:06:00 +01:00
93283c27f6
Handle existing values in DB insertion 2023-11-22 23:54:11 +01:00
20ec64ef04
Add code to fetch new games 2023-11-22 23:35:47 +01:00
01ebfa380d
Add CLI option to fetch variants 2023-11-22 18:58:55 +01:00
dddb9de878
Ignore test file 2023-11-22 18:56:34 +01:00
aa4b20df8c
Add code to initialize variants 2023-11-22 18:56:08 +01:00
dbe5098ef6
Functions to add players to database 2023-11-22 18:22:53 +01:00
22bfb38011
Fix decorator 2023-11-22 17:26:15 +01:00
ab32fae4f2
Add config file for hanabi league 2023-11-22 17:13:44 +01:00
cc8dd2a90c
fix database schema: add number of players 2023-11-22 17:12:45 +01:00
38b9db5b8f
Add README 2023-11-22 16:30:29 +01:00
fa3148798c
better log output 2023-11-22 16:27:04 +01:00
2ed40eae37
Add CLI 2023-11-22 16:21:30 +01:00
df0ea4cb43
Ignore __pycache__ dir 2023-11-22 16:00:54 +01:00
8623b524de
Add DB initialization code. Fix DB schema 2023-11-22 16:00:26 +01:00
15a1b29b84
Add some comments 2023-11-22 15:34:24 +01:00