I am creating a simple text-based game in Mathematica.
I am having a slight trouble with putting variables inside texts.
I tried,
{"Hey!" name "Do you want to play a game?"}
Where name is a variable for a character name the user specified before using
InputField[Dynamic[name], String]
When the set of strings above are computated, they fall out in an alphabetical order, making no sense at all.
Is there a simple way to put a variable in a string?
Also, if you have any advise on what I can do with a text-based game, it would be welcome.
Thank you.