RCRPG/Nim: Difference between revisions

Content added Content deleted
mNo edit summary
m (Fixed syntax highlighting.)
 
Line 38: Line 38:
Directions are: north, east, south, west, up, down.
Directions are: north, east, south, west, up, down.


==Code==
===Code===
<syntaxhighlight lang="nim">
<lang Nim>
import random
import random
import strformat
import strformat
Line 376: Line 376:
break
break


echo "Thanks for playing"
echo "Thanks for playing"</syntaxhighlight>
</lang>