![]() ![]() You will need these objects for the starting form: Next, change the form's name to "frmStartScreen". ![]() We will start out by making the player vs player game, since it is easier.įirst, open visual basic 6 and open up a form. You will need to get used to most of the basic tools that you can use on your form like the option-box, command button, etc. Just download the link until I say that I am completely done Backgroundįor this project, you will need to understand the 5 basic data types and the Boolean data type. Just follow these steps and you will successfully make you're own AMAZING TIC-TAC-TOE game. 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.If you want to make you're own game, then here's a simple one, even though it is advanced for a simple game. 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 |