A move randomization engine ensures that your iPhone won't keep making the same moves over and over again. The AI for one player mode includes three difficulty levels, so you can play against a computer player that matches your skill level. Tic Tac Toe Free supports one player and two player gameplay, so you can play against another human or against your iPhone. I have also tried doing gym.make('tictactoe-v0') which seems to follow the format of other gym environments better but that doesn't work either and produces the same error.Put away your pencil and paper - now you can play Tic Tac Toe on your iPhone or iPod Touch for free. I'm not sure whether something went wrong with registration of the environment or if I am using the wrong name when calling gym.make. I have followed the exact same naming format that was in the tutorial. Register(id="tictactoe-v0", entry_point="tic_tac_toe.envs:TicTacToeEnv") ![]() Here is the code for the init file where the id was created: from import register Here is the code that is producing the error: import gymĮnv = gym.make('tic_tac_toe:tictactoe-v0') : Environment `tic_tac_toe:tictactoe` doesn't exist. Self._assert_name_exists(namespace, name)įile "C:\Users\geniu\tictactoeproj\lib\site-packages\gym\envs\registration.py", line 297, in _assert_name_exists Versions = self.env_specs.versions(namespace, name)įile "C:\Users\geniu\tictactoeproj\lib\site-packages\gym\envs\registration.py", line 220, in versions I am following a tutorial to create my own openAI gym environment for Tic Tac Toe but have run into the following error: Traceback (most recent call last):įile "c:\Users\geniu\tictactoeproj\Code\test.py", line 4, in įile "C:\Users\geniu\tictactoeproj\lib\site-packages\gym\envs\registration.py", line 676, in makeįile "C:\Users\geniu\tictactoeproj\lib\site-packages\gym\envs\registration.py", line 490, in make
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |