Gym: tic tac toe environment

Created on 16 Jun 2017  路  4Comments  路  Source: openai/gym

I am considering adding a tic-tac-toe environment in order to have a simpler env that can be 'solved' quite easily'.

If I were to open a PR for this env would it be accepted?

Most helpful comment

All 4 comments

I think we have a good supply of "toy environments". If you would make something more intermediate like https://en.wikipedia.org/wiki/Renju I think it could be interesting?

(EDIT: I am not a repo master here just suggesting my opinion.)

Thanks @hholst80 ,

I have another issue opened to discuss a framework for describing arbitrary games (https://github.com/openai/gym/issues/628). Renju would be a perfect candidate for such a system I believe. My suggestion for 'tic-tac-toe' was in response to seeing the included 'board game' examples in the project: "GO" and "Hex", both fairly complicated. Perhaps you're right that the existing 'toy' examples such as 'guessing game' provide enough simple examples. However, I think there is something unique about the multi-player board-games due to them requiring 'adversary policies', which I don't see in the toys.

We're not currently accepting new environment PRs, but you can definitely make your own environment as a separate python package, as described here: https://github.com/openai/gym/blob/master/docs/creating-environments.md

Was this page helpful?
0 / 5 - 0 ratings