graph-games-proto 0.3.2274__py3-none-any.whl → 0.3.2276__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graph_games_proto/fns.py +2 -2
- {graph_games_proto-0.3.2274.dist-info → graph_games_proto-0.3.2276.dist-info}/METADATA +1 -1
- {graph_games_proto-0.3.2274.dist-info → graph_games_proto-0.3.2276.dist-info}/RECORD +5 -5
- {graph_games_proto-0.3.2274.dist-info → graph_games_proto-0.3.2276.dist-info}/WHEEL +0 -0
- {graph_games_proto-0.3.2274.dist-info → graph_games_proto-0.3.2276.dist-info}/top_level.txt +0 -0
graph_games_proto/fns.py
CHANGED
@@ -1042,7 +1042,7 @@ class Player(PClass):
|
|
1042
1042
|
"idx": self.idx,
|
1043
1043
|
"pieces": self.pieces,
|
1044
1044
|
"cards": self.cards,
|
1045
|
-
"discard_tray": self.discard_tray,
|
1045
|
+
"discard_tray": [x.__todict__() for x in self.discard_tray],
|
1046
1046
|
}
|
1047
1047
|
@staticmethod
|
1048
1048
|
def __fromdict__(d):
|
@@ -1050,7 +1050,7 @@ class Player(PClass):
|
|
1050
1050
|
idx=d["idx"],
|
1051
1051
|
pieces=d["pieces"],
|
1052
1052
|
cards=d["cards"],
|
1053
|
-
discard_tray=d["discard_tray"]
|
1053
|
+
discard_tray=[Card.__fromdict__(x) for x in d["discard_tray"]]
|
1054
1054
|
)
|
1055
1055
|
|
1056
1056
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
graph_games_proto/__init__.py,sha256=3XawPcYk9Zk-Hj4M8eNBdGzBccKG8dWj8ZZGRkWnmA4,735
|
2
2
|
graph_games_proto/all_types.py,sha256=IpbwftEcHS5Ewz-saFNk0lO9FvcbuHG36odRTayCXUk,54911
|
3
|
-
graph_games_proto/fns.py,sha256=
|
3
|
+
graph_games_proto/fns.py,sha256=c7tdY79fni3W8faZh60jT-ecH1aE_DY4kex2gPFHI6Y,211095
|
4
4
|
graph_games_proto/main.py,sha256=fj2U7KcwrpZtuUhjOX5yVxY18LZvvsxDFYZ_S5mxe04,145
|
5
5
|
graph_games_proto/state.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
graph_games_proto-0.3.
|
7
|
-
graph_games_proto-0.3.
|
8
|
-
graph_games_proto-0.3.
|
9
|
-
graph_games_proto-0.3.
|
6
|
+
graph_games_proto-0.3.2276.dist-info/METADATA,sha256=ajShthAweA4aD7Z819bMFrRP_NByfaefGX1y5oCVpUw,188
|
7
|
+
graph_games_proto-0.3.2276.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
graph_games_proto-0.3.2276.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
|
9
|
+
graph_games_proto-0.3.2276.dist-info/RECORD,,
|
File without changes
|
File without changes
|