SwashBuckler001's picture
IdiomBench (part 5)
5999c55 verified
Raw History Blame Contribute Delete
176 Bytes
match command.split():
case ["go", ("north" | "south" | "east" | "west")]:
current_room = current_room.neighbor(...)
# how do I know which direction to go?