![]() ![]() See the Pen Tic-tac-toe in JavaScript by Jan Schreiber CodePen. It’s all done with the “checkbox hack” or, in this case, radio buttons’ checked property Created by Chris Smith. ![]() Code byĪ game of Noughts and Crosses or Tic Tac Toe using HTML and CSS only, no JavaScript. See the Pen HTML/CSS Only Noughts and Crosses by Chris Smith CodePen. Players can also restart the Tic-Tac-Toe game. Code byĪ pure CSS Tic-tac-toe game developed by Žiga Miklič, it works like any normal Tic-tac-toe game would: 2 players can play against each other, and it can result in either a win or a tie. See the Pen Pure CSS Tic-tac-toe by Žiga Miklič CodePen. Code byĪ 3D tic tac toe game using checkboxes, made by Jeff Ayer using HTML(Haml), CSS(SCSS), and JavaScript. See the Pen Concept – 3D Tic Tac Toe by Jeff Ayer CodePen. This is an alternative version of the tic-tac-toe game with mythical beasts, developed by Annie using HTML, CSS(SCSS), and JS. 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.See the Pen Tic Tac Toe: Dragons vs Unicorns by Annie CodePen. ![]() 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 |