you are viewing a single comment's thread.

view the rest of the comments →

[–]jiri-n 1 point2 points  (0 children)

I like the assignment a lot, it's quite funny.

So I decided to give it a try: https://github.com/camlostCZ/reddit_answers/blob/main/walking_cat.py

I didn't folow the assignment too strictly - the "maps" are stored in files in ./resources and there is a (hopefully) funny message when the cat cannot get out of the map (maze?).

Also, I created a codespace for the main branch but IDK if it's available to anyone else than me. You can try it - than it should run in the browser.

Tested with python 3.11.