Commit graph

172 commits

Author SHA1 Message Date
a93601c997
Refactor imports, remove code in imported files
We now only use relative imports for files in the same directory
Also, only modules are imported, never classes/functions etc
Furthermore, main methods in package files have been removed,
since they do not belong there
2023-07-04 21:15:33 +02:00
6ae72a4b03
Adapt imports to new package structure 2023-07-04 18:53:18 +02:00
05e1822c3d
refactor files into proper submodules (not functional yet) 2023-07-04 18:52:59 +02:00
37f6f78333
check_game: some cleanup, better comments 2023-07-04 18:10:37 +02:00
7845c79889
export starting_player of games as well 2023-06-24 18:35:15 +02:00
9713bc7f7b
add usage to README 2023-06-24 17:43:56 +02:00
8e622a84f7
update README 2023-06-24 17:41:26 +02:00
b0aae46454
Merge branch 'main' of gitlab.com:kesslermaximilian/hanabi-suite 2023-06-24 17:40:36 +02:00
d782a072c6
add README 2023-06-24 17:39:50 +02:00
a50adae325
add README 2023-06-24 17:37:56 +02:00
558a341aeb
Merge branch 'greedy-solver' 2023-06-24 17:26:51 +02:00
8615e25c21
update gitignore 2023-06-24 17:25:54 +02:00
e85b7948c6
update test file 2023-06-24 17:25:25 +02:00
4f4ec7e7c2
update requirements 2023-06-24 17:25:19 +02:00
a91a6db47e
greedy_solver: add back Dispensable CardType to allow old greedy solver to function 2023-06-24 17:25:07 +02:00
673e5841a8
update instance finder to new db. supports timeouts now 2023-06-24 17:24:37 +02:00
9f0f85b604
deck analysis: check for dark cards at bottom of deck 2023-06-24 17:24:11 +02:00
75b0f95e0b
add max score to variants 2023-06-24 17:23:49 +02:00
2ca79dfc6c
hanabi instances: support differnt starting players 2023-06-24 17:23:29 +02:00
9f952c231f
download: support instances with some special options 2023-06-24 17:23:05 +02:00
205380d1fa
database: add entry for starting_player 2023-06-24 17:22:37 +02:00
19501aa4da
hanabi.py: raise error if to-be-replaced card is not in hand 2023-06-24 17:21:55 +02:00
6c91463893
add log files to gitignore 2023-05-25 17:01:25 +02:00
e43b062dda
add txt file with strategy 2023-05-25 17:00:53 +02:00
a427a2575e
start impl of better greedy solver 2023-05-25 17:00:18 +02:00
a1345a1976
implement some utils to query from game class 2023-05-25 17:00:02 +02:00
f45bde1883
add option to set minimum pace in sat solver 2023-05-20 21:45:51 +02:00
ac261c629e
sat: rework to use integral variable, not individual bools 2023-05-20 18:03:47 +02:00
de00fdc0e1
clean up imports 2023-05-20 14:40:29 +02:00
2c874275db
add command-line flag to enable verbose printing to terminal 2023-05-20 14:38:38 +02:00
746b30dbeb
rework logging to log into separate files 2023-05-20 14:32:42 +02:00
85c9dbd646
fix generation of links 2023-05-20 14:31:43 +02:00
ef4b344762
clean up greedy solver file 2023-05-19 12:57:44 +02:00
86f824edd7
revert to regular gamestates in greedy solver 2023-05-19 12:44:32 +02:00
2af847d5b8
add selection of default hanab.live variant id to allow compressing of regular GameStates 2023-05-19 12:43:49 +02:00
16cee69c82
adjust greedy solver to hanabliveinstances. dump file 2023-05-19 12:18:38 +02:00
6d19565f5e
improve overall logging, use verbose logger 2023-05-14 23:57:24 +02:00
79a6b9087b
add cli interface 2023-05-14 19:16:06 +02:00
ebc98aa850
add test 2023-05-14 19:11:42 +02:00
daefcad215
adjust instance finder to refactors 2023-05-14 19:11:10 +02:00
217d5b4a82
check_game: handle error if game is not in DB 2023-05-14 19:10:41 +02:00
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