Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is there any information that can be used to identify Open Spiel supports? #55

Closed
Hidetomi opened this issue Sep 15, 2019 · 2 comments

Comments

@Hidetomi
Copy link

I am not familiar with game classification.

For example, I want to add tetris.
But I don't know if Tetris applies to the classification described in Open Spiel supports. Is there any information that can be used to identify it?

Thank you.

@Hidetomi Hidetomi changed the title Question: Is there any information that can be used to identify it? Question: Is there any information that can be used to identify Open Spiel supports? Sep 15, 2019
@lanctot
Copy link
Collaborator

lanctot commented Sep 15, 2019

Hi @Hidetomi , yes! The best place to read further on the formalisms that OpenSpiel uses (i.e. those linked from the page you linked) is the OpenSpiel paper.

Tetris is an interesting one! It can be modeled as a single-player extensive-form game (with chance eventsm required to determine the next block). I would recommend looking at the catch game, which is the closest to Tetris we currently have.

The only tricky thing is that there is no notion of a time-limit or any real-time execution / constraints in the game implementations themselves. So in OpenSpiel, the game would be turn-based (like catch) and any real-time elements (such as time-limits imposed on an agent's decision, and default no-op moves if the agent doesn't respond in time) would need to be handled externally in a a main loop between agent and environment, which would be fairly straight-forward.

Feel free to ask any questions if this is not clear!

@Hidetomi
Copy link
Author

Hi @lanctot , Thank you!

The only tricky thing is that there is no notion of a time-limit or any real-time execution / constraints in the game implementations themselves. So in OpenSpiel, the game would be turn-based (like catch) and any real-time elements (such as time-limits imposed on an agent's decision, and default no-op moves if the agent doesn't respond in time) would need to be handled externally in a a main loop between agent and environment, which would be fairly straight-forward.

I am very happy to know that. First read a paper and try to understand open_spiel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants