Python Forum
Complete beginnner making a text based adventure - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Game Development (https://python-forum.io/forum-11.html)
+--- Thread: Complete beginnner making a text based adventure (/thread-34116.html)



Complete beginnner making a text based adventure - Mishmaccles - Jun-28-2021

Hello there

I’ve decided to start a new hobby and I’m following a tutorial on making a text based adventure.

I’d like to insert a question during the story that has no effect on the path.

But this isn’t included in the tutorial I’m following as all questions in the tutorial lead to a new path.

How do I make this work?

Thanks


RE: Complete beginnner making a text based adventure - Larz60+ - Jun-28-2021

Please show the code you have.
It's difficult to add code if you don't know full context.


RE: Complete beginnner making a text based adventure - BashBedlam - Jul-07-2021

It's as simple as just not doing anything with the input.

input ('This does not change anything: ')

variable = input ('This changes the value of variable: ')