Commit graph

131 commits

Author SHA1 Message Date
fb713fcf9e
support extra options from hanab.liv 2023-05-14 16:44:23 +02:00
4a036801c4
fix err msg in downloading data 2023-05-14 14:56:04 +02:00
1e79452061
add method to search for broken seeeds 2023-05-14 14:06:01 +02:00
258b804576
add alive_bar to requirements 2023-05-14 14:05:25 +02:00
357e98b8db
improve logging setup 2023-05-14 14:04:42 +02:00
aafd1ca1ec
better error handling and messages when downloading data 2023-05-14 14:03:42 +02:00
9b7623b173
add progress bar to downloading data 2023-05-14 10:40:47 +02:00
78348c10b5
speed up download process a little bit 2023-05-14 10:22:06 +02:00
3fed5b97e8
clean up files 2023-05-13 23:25:45 +02:00
906d7cd974
adapt to database package. remove creating of files upon import 2023-05-13 23:25:04 +02:00
632bf3c0cc
fix database schema to allow for 6-suit decks 2023-05-13 23:22:36 +02:00
63a073a1f7
remove bad global statement 2023-05-13 23:12:06 +02:00
ab0ed7f09f
get rid of json files downloaded from github.com/hanabi-live 2023-05-13 23:10:36 +02:00
bc09949d93
add old.py file for old code 2023-05-13 23:10:00 +02:00
3322aafae4
add test file (to keep other files clean) 2023-05-13 23:09:46 +02:00
f8eac6a118
add hanab live instance file 2023-05-13 23:09:28 +02:00
5eac42e5c0
rework downloading of variants: store progress of download in database to resume downloads 2023-05-13 23:08:01 +02:00
0ffb323b7f
adjust variant-getter methods to handle invalid inputs 2023-05-13 19:52:32 +02:00
4e373be425
put database related stuff into own python subpackage 2023-05-13 19:39:18 +02:00
76d585e656
adapt game checking code to new HanabLiveInstance 2023-05-13 18:26:06 +02:00
b7f6df7e0d
hanabif interface: refactor hanab.live specific features into own class 2023-05-13 17:27:34 +02:00
35e78f4753
add 6th initial to color initials 2023-05-13 13:06:49 +02:00
fceeeb376d
sat: adjust print_model to instances with variable deck sizes 2023-05-13 13:05:58 +02:00
a5310f8885
implement color and rank touching methods for variants 2023-05-13 12:33:58 +02:00
7d8e03fca0
add more comments and restrictions on properties of variants. calculate available clues in each variant 2023-05-13 00:37:19 +02:00
c0f007c15c
add flag for deceptive special rank 2023-05-13 00:01:35 +02:00
98c9f56f36
fix database regarding difference of no and empty color/rank clues 2023-05-12 23:52:04 +02:00
b29b7af2b0
initiale variants class with list of suit classes 2023-05-12 23:16:24 +02:00
b133e86769
rename database fields 2023-05-12 23:15:53 +02:00
49792f530d
add suit class 2023-05-12 21:36:18 +02:00
a85d1e5f9a
rework variants file: use DB-based access to variants information 2023-05-12 20:12:13 +02:00
550df72a28
move initialization of tables into own schema file 2023-05-12 19:05:05 +02:00
406348f07e
ensure correct ordering of suits in variant. add some indices 2023-05-12 18:26:27 +02:00
9f37572876
remove legacy suits file 2023-05-12 15:43:42 +02:00
22ae926087
add suits file from hanab.live 2023-05-12 15:35:48 +02:00
6258315a4f
database: convert hanab.live json files into readable tables for suits and variants 2023-05-12 15:35:18 +02:00
a9026be6f6
rename suits file 2023-05-12 14:03:31 +02:00
1868fbad1f
add json file with information on all suits 2023-05-12 12:44:55 +02:00
3cc49b4813
stash 2023-05-11 15:15:15 +02:00
a715bda02c
sat: support ClueStarved instances 2023-05-10 19:23:23 +02:00
3a1aee1502
sat: fix equivalence of clue incrementation 2023-05-10 17:44:41 +02:00
892c5ff7be
fix printing of model of sat 2023-05-10 17:44:16 +02:00
5598887c64
model clue starved in hanabi instances/games 2023-05-10 17:30:57 +02:00
9886e68084
correct return value in case of infeasible instance 2023-05-09 17:44:37 +02:00
edcdaa8fd2
download: fix parsing of var id, better error handling 2023-05-08 23:27:47 +02:00
c47ca7ccc5
sat.py: correctly export model after game ended 2023-05-08 23:25:09 +02:00
d91dec3c81
add method to check replay for last feasible state (binary search) 2023-05-06 23:59:03 +02:00
ab82ec00ed
insert into seeds db before into games 2023-05-06 23:51:26 +02:00
87524addd6
hanabi.py: support adding arbitrary clues for nicer replays 2023-05-06 22:03:23 +02:00
9fe456f0f9
hanabi.py add attribute to retrieve max score of instance 2023-05-06 20:13:36 +02:00