Continuous Action Game -- Implementation Help #1313
Unanswered
ghimiremukesh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Previously, I implemented a simple continuous action game by discretizing the action space, but now I’d like to test algorithms that directly handle continuous action spaces (e.g., PPO, MMD).
My game involves two players moving simultaneously on a 2D grid, with actions represented as 2D accelerations. In my naive implementation, I attempted to pass the 2D action directly to the
_apply_actions(self, actions)
method instead of using an index. However, I discovered that the method only acceptsint
types foractions
.Has anyone tackled this before or have any tips on implementing continuous action games in OpenSpiel?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions