Commit graph

16 commits

Author SHA1 Message Date
7aa8a78a9d
rewrite compress methods for new GameState object, proper error handling 2023-03-18 01:19:04 +01:00
0851f83e12
compress.py: add method for colored output 2023-03-17 11:55:07 +01:00
c381a4c129
compress.py: make executable and decompress argument from command line 2023-03-17 11:54:55 +01:00
07d95e99f5
do not execute stuff when importing 2023-03-15 15:44:50 +01:00
d71dba523c
add deck index to be stored with card, add hash method 2023-03-14 21:15:20 +01:00
e04d3a9025
fix compression: value of voteTerminate now set to 0 to prevent index overflow 2023-03-14 09:12:46 +01:00
91aa786ef9
add method to directly generate link to replay 2023-03-13 17:21:25 +01:00
46cc2c50ee
add interface to read variants.json file 2023-03-11 20:01:29 +01:00
d0ba1f4b4a
fix compression: shift encoded values by 1 to differentiate 0 and null 2023-03-03 11:17:31 +01:00
bfc72c497d
add action for voting to terminate the game 2023-03-02 22:15:47 +01:00
a4a3cc90f0
clean up file 2023-03-02 21:28:37 +01:00
7c82aff384
remove lots of 'tests' 2023-03-02 21:27:29 +01:00
4dab0de216
add code to decompress json games 2023-03-02 21:27:00 +01:00
26f5e2f3f1
add code to compress whole json games 2023-03-02 21:13:47 +01:00
b19fc187d6
implement decompressing action string 2023-03-02 20:38:48 +01:00
174e8276f2
add compression methods for decks/replays 2023-03-02 20:16:26 +01:00