Commit Graph

4 Commits

Author SHA1 Message Date
kathrynoh23 c9b37ea995 Kathryn Odell-Hamilton
May27, 2024

unit3/lab_retro

The lab_retro was straight forward with the
instructions and code. I made a few typos while
coding that threw errors, but that was good for
me to go back and review the code. You also found
an error with the file name and too many of one
file. That was good to see. I did realize that the
Terminal window has to be larger so that the
game can be viewed and played, otherwise you'll
get an error, "TerminalTooSmall." I understand
the concept of setting up class' and agents for
the game. I've already watched your "Beast" game
video to help each of us to get started with
creating our Retro game.
2024-05-27 18:00:48 -04:00
kathrynoh23 6d0b2bd2dd Kathryn Odell-Hamilton
2024.4.9
at 10:40am

I watched your video and realized the instance of
Game was supposed to happen.
________
I installed gym-retro package.
I have the pip 24.0 version.
Is this correct?
________
- Ran  python -m retro.examples.simple

Not sure if I am to see the following in Terminal

In Terminal: A black screen appeared with double-width white
lines dividing the board. There are 2 vertical lines and
5 horizontal lines with a small asterisk.
Is this the board with an Agent, the asterisk?
________
I do see that its glitchy. I also read that was
happening to some while reading Discord.

Now I understand what's happening...
When I press any keystroke, the Terminal records
every action (keystrokes) on the sidebar in the
log messages. Oh, so this is the Game.log. ok.
________
How do I escape out of the Game for future reference?

I quit out of Terminal to run python -m retro.examples.debug.
2024-04-09 11:01:37 -04:00
kathrynoh23 15b800c359 Kathryn Odell-Hamilton
April 9, 2024

1. Games

Error Message: oduleNotFoundError: No module named 'retro'

I created a new python file named game.py located in lab_retro
and entered the code. Where is retro.game located?
Where is the import ArrowKeyAgent coming from?

I do understand the "agent," is anything can show
up on a board whether is does or doesn't do anything.
2024-04-09 08:29:22 -04:00
kodell-hamilton 65351bc73a Initial commit 2023-08-22 22:38:42 +00:00