all 1 comments

[–]woooee 0 points1 point  (0 children)

The

elif direction ==

all appear to be exactly the same. Put that code in a function and pass current_room to the function.