File size: 176 Bytes
5eb110b
 
 
 
1
2
3
4
5
match command.split():
    case ["go", ("north" | "south" | "east" | "west")]:
        current_room = current_room.neighbor(...)
        # how do I know which direction to go?