Python Forum

Full Version: Program for a Game
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

im very new to coding and there is a lot i don't understand but that is not my point my friend is looking to make and interactive game and part of the involves a program that types out a certain sentence no matter what the user presses for example: "hello" if i typed "kaied" or "uvjsa" it would type out hello anyways he plans to implement this as a conversation and a way for telling a story (don't know if that helps) i did think of a way to do this but it would have been so inefficient it would have been laughable as well as being hard for him to wight out his story anyways i hope you can help and thank you in advanced
You can write down a typical conversation between a user and the program. Then write a python program that can produce this conversation. Post code and any error messages here.