From 2ddfc7cf25eedf3eb9e17d47b6b78d7a4021da23 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 28 Jan 2018 05:53:44 +0530 Subject: [PATCH] save space by packing --- gothok/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gothok/init b/gothok/init index b46b4a2..bcf3e21 100755 --- a/gothok/init +++ b/gothok/init @@ -34,4 +34,4 @@ for index, card in enumerate(cards): # Now we have an initial state of the game, write it down f = open('state.bin', 'w+b') -state.write(f) +state.write_packed(f)