RCRPG/Python: Difference between revisions

m
Fixed syntax highlighting.
(→‎Code: fix bug)
m (Fixed syntax highlighting.)
 
Line 4:
All the commands listed on the blog post are implemented, as well as move and unequip.
 
===Code===
<langsyntaxhighlight lang="python">directions = {'north':(0,-1,0),
'east':(1,0,0),
'south':(0,1,0),
Line 198:
break
print("Thanks for playing!")</syntaxhighlight>
</lang>
9,476

edits