-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Room lets you use exit as a direction even though it is a method #43
Comments
I'm using Python 3.10.1 Not sure if that helps |
Please can you provide a minimal reproducible example? |
|
|
The problem is that you are using |
exit
as a direction even though it is a method
exit
as a direction even though it is a method
Is there any way to get around that annoying thing? |
Yes:
|
I got snagged on this too ... turns out I had done a copypasta from the docs, so you might want to change this line: https://github.com/lordmauve/adventurelib/blob/master/doc/rooms.rst?plain=1#L209 ... I'm grateful for this very cool library - having a lot of fun! |
Whenever I do 'north', 'east', 'west' or 'south', the game crashes with an error:
The text was updated successfully, but these errors were encountered: