graph-games-proto 0.3.2099__py3-none-any.whl → 0.3.2100__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 +0 -8
- {graph_games_proto-0.3.2099.dist-info → graph_games_proto-0.3.2100.dist-info}/METADATA +1 -1
- {graph_games_proto-0.3.2099.dist-info → graph_games_proto-0.3.2100.dist-info}/RECORD +5 -5
- {graph_games_proto-0.3.2099.dist-info → graph_games_proto-0.3.2100.dist-info}/WHEEL +0 -0
- {graph_games_proto-0.3.2099.dist-info → graph_games_proto-0.3.2100.dist-info}/top_level.txt +0 -0
graph_games_proto/fns.py
CHANGED
@@ -1170,7 +1170,6 @@ class PrivateState(PClass):
|
|
1170
1170
|
class PublicDeck(PClass):
|
1171
1171
|
idx = field(type=int)
|
1172
1172
|
uuid = field(type=str)
|
1173
|
-
units = field(type=list) # List[Card]
|
1174
1173
|
facedown_stack_len = field(type=int)
|
1175
1174
|
discard_len = field(type=int)
|
1176
1175
|
faceup_spots = field(type=list) # List[Card]
|
@@ -1178,7 +1177,6 @@ class PublicDeck(PClass):
|
|
1178
1177
|
return {
|
1179
1178
|
"idx": self.idx,
|
1180
1179
|
"uuid": self.uuid,
|
1181
|
-
"units": [unit.__todict__() for unit in self.units],
|
1182
1180
|
"facedown_stack_len": self.facedown_stack_len,
|
1183
1181
|
"discard_len": self.discard_len,
|
1184
1182
|
"faceup_spots": self.faceup_spots,
|
@@ -1188,7 +1186,6 @@ class PublicDeck(PClass):
|
|
1188
1186
|
return PublicDeck(
|
1189
1187
|
idx=d["idx"],
|
1190
1188
|
uuid=d["uuid"],
|
1191
|
-
units=[Card.__fromdict__(card) for card in d["units"]],
|
1192
1189
|
facedown_stack_len=d["facedown_stack_len"],
|
1193
1190
|
discard_len=d["discard_len"],
|
1194
1191
|
faceup_spots=d["faceup_spots"],
|
@@ -1690,7 +1687,6 @@ class Action2(PClass):
|
|
1690
1687
|
class Deck(PClass):
|
1691
1688
|
idx = field(type=int)
|
1692
1689
|
uuid = field(type=str)
|
1693
|
-
units = field(type=list) # List[Card]
|
1694
1690
|
facedown_stack = field(type=list) # List[str]
|
1695
1691
|
discard = field(type=list) # List[str]
|
1696
1692
|
faceup_spots = field(type=list) # List[str]
|
@@ -1698,7 +1694,6 @@ class Deck(PClass):
|
|
1698
1694
|
return {
|
1699
1695
|
"idx": self.idx,
|
1700
1696
|
"uuid": self.uuid,
|
1701
|
-
"units": [unit.__todict__() for unit in self.units],
|
1702
1697
|
"facedown_stack": self.facedown_stack,
|
1703
1698
|
"discard": self.discard,
|
1704
1699
|
"faceup_spots": self.faceup_spots,
|
@@ -1708,7 +1703,6 @@ class Deck(PClass):
|
|
1708
1703
|
return Deck(
|
1709
1704
|
idx=d["idx"],
|
1710
1705
|
uuid=d["uuid"],
|
1711
|
-
units=[], # TODO: Card.__fromdict__(card) for card in d["cards"]
|
1712
1706
|
facedown_stack=d["facedown_stack"],
|
1713
1707
|
discard=d["discard"],
|
1714
1708
|
faceup_spots=d["faceup_spots"],
|
@@ -2237,7 +2231,6 @@ def init_state_kernel(game_config, **kwargs):
|
|
2237
2231
|
deck_obj = Deck(
|
2238
2232
|
uuid=dek.uuid,
|
2239
2233
|
idx=dek.idx,
|
2240
|
-
units=[],
|
2241
2234
|
faceup_spots=[],
|
2242
2235
|
discard=[],
|
2243
2236
|
facedown_stack=[card.uuid for card in cards],
|
@@ -4758,7 +4751,6 @@ def getpublicdeck(s, d):
|
|
4758
4751
|
return PublicDeck(
|
4759
4752
|
idx=d.idx,
|
4760
4753
|
uuid=d.uuid,
|
4761
|
-
units=d.units,
|
4762
4754
|
facedown_stack_len=len(d.facedown_stack),
|
4763
4755
|
discard_len=len(d.discard),
|
4764
4756
|
faceup_spots=d.faceup_spots,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
graph_games_proto/__init__.py,sha256=_EVQR-51XehfH45XZlba1WPdx3omS3Gm1nTwrgGyn2Q,667
|
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=q656HgMAmHaIlbYI1lBYZLLTvRfa7X9tfCUoC-oQINI,199495
|
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.2100.dist-info/METADATA,sha256=rpyhU4WzhqGJrINJ3gDW4851KSujWfNJX3sF5ZwJnBo,188
|
7
|
+
graph_games_proto-0.3.2100.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
graph_games_proto-0.3.2100.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
|
9
|
+
graph_games_proto-0.3.2100.dist-info/RECORD,,
|
File without changes
|
File without changes
|