Skip to content
Sign upLog in
← Back to Community
Simple ways to repeat?
Profile icon
Luke25

https://repl.it/@Luke25/Text-Based-RPG

So basically, I was working on this text-based RPG for a while until I just got tired of the tedious print commands. Anyone have ideas of what to do to make this less tedious.

Wooossh

Voters
Profile icon
Luke25
Comments
hotnewtop
Profile icon
theangryepicbanana

Use a function.

Profile icon
kaldisberzins

Make some standard variables with strings in them with generic texts that you have to use again and agan. Then just use the variable instead.

Profile icon
zog1

Make a function that prints the argument value or smth.