graph-games-proto 0.3.2039__py3-none-any.whl → 0.3.2040__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 +9 -8
- {graph_games_proto-0.3.2039.dist-info → graph_games_proto-0.3.2040.dist-info}/METADATA +1 -1
- {graph_games_proto-0.3.2039.dist-info → graph_games_proto-0.3.2040.dist-info}/RECORD +5 -5
- {graph_games_proto-0.3.2039.dist-info → graph_games_proto-0.3.2040.dist-info}/WHEEL +0 -0
- {graph_games_proto-0.3.2039.dist-info → graph_games_proto-0.3.2040.dist-info}/top_level.txt +0 -0
graph_games_proto/fns.py
CHANGED
@@ -2057,12 +2057,13 @@ def init_state_kernel(**kwargs):
|
|
2057
2057
|
rng=rng,
|
2058
2058
|
game_config=game_config,
|
2059
2059
|
edges=edges,
|
2060
|
-
nodes=kwargs.get('nodes'),
|
2061
|
-
|
2062
|
-
|
2060
|
+
nodes=kwargs.get('nodes', []),
|
2061
|
+
regions=kwargs.get('regions', []),
|
2062
|
+
decks=kwargs.get('decks', []),
|
2063
|
+
piles=kwargs.get('piles', []),
|
2063
2064
|
players=kwargs.get('players'),
|
2064
2065
|
player_idxs=kwargs.get('player_idxs'),
|
2065
|
-
history=kwargs.get('history'),
|
2066
|
+
history=kwargs.get('history', []),
|
2066
2067
|
idx2path=idx2path,
|
2067
2068
|
edgeuuid2idx=edgeuuid2idx,
|
2068
2069
|
carduuid2card=carduuid2card,
|
@@ -2071,9 +2072,9 @@ def init_state_kernel(**kwargs):
|
|
2071
2072
|
nodeuuid2idx=nodeuuid2idx,
|
2072
2073
|
carduuid2deckidx=carduuid2deckidx,
|
2073
2074
|
bonusuuid2bonusidx=bonusuuid2bonusidx,
|
2074
|
-
starting_decks=kwargs.get('starting_decks'),
|
2075
|
-
starting_piles=kwargs.get('starting_piles'),
|
2076
|
-
goals=kwargs.get('goals'),
|
2075
|
+
starting_decks=kwargs.get('starting_decks', []),
|
2076
|
+
starting_piles=kwargs.get('starting_piles', []),
|
2077
|
+
goals=kwargs.get('goals', []),
|
2077
2078
|
player_graphs_3=player_graphs_3,
|
2078
2079
|
)
|
2079
2080
|
|
@@ -2353,7 +2354,7 @@ class PublicState(PClass):
|
|
2353
2354
|
goals = field(type=list) # List[Goal]
|
2354
2355
|
nodes = field(type=list) # List[Node]
|
2355
2356
|
edges = field(type=list) # List[BiEdge]
|
2356
|
-
regions = field(type=list
|
2357
|
+
regions = field(type=list) # List[Region]
|
2357
2358
|
decks = field(type=list) # List[PublicDeck]
|
2358
2359
|
piles = field(type=list) # List[Pile]
|
2359
2360
|
player_idxs = field(type=list) # List[int]
|
@@ -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=u6ORgZhOa4hk73rkwBnEr0kI6E5kQRM6iDJxwaqH3s8,193842
|
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.2040.dist-info/METADATA,sha256=-_JE0nWxiJ15-ffpdG3p-0vT8taX7V9tzijqzSvmcTQ,188
|
7
|
+
graph_games_proto-0.3.2040.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
graph_games_proto-0.3.2040.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
|
9
|
+
graph_games_proto-0.3.2040.dist-info/RECORD,,
|
File without changes
|
File without changes
|