Python Forum
My first 'GAME' It is a simple text adventure
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My first 'GAME' It is a simple text adventure
#2
im just gonna put them in bullets 
  • capitalized variables are usually set aside for class names only.
  • your if structure should be an if elif structure, not if only 
  • you should use the format method instead
Quote:print("Congratulations"+" "+Name+"!")
print("congratulations {}!".format(Name))
or if using python3.6+
print(f"congratulations {Name}!")
Recommended Tutorials:
Reply


Messages In This Thread
RE: My first 'GAME' It is a simple text adventure - by metulburr - Aug-08-2017, 03:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Lunar Lander Text Game hendry1 1 3,173 May-17-2020, 12:21 AM
Last Post: TomToad
  Text Adventure Game Nave5 1 2,287 Mar-30-2020, 05:06 AM
Last Post: SheeppOSU
  Simple Text Shop Simulator Feedback Dash 5 3,460 Apr-19-2019, 01:08 PM
Last Post: Dash
  Text base adventure game ForbNovak 12 7,485 Aug-29-2018, 03:11 PM
Last Post: Nwb
  Feedback on a test adventure? Panda 2 3,026 Jun-15-2018, 06:18 PM
Last Post: nilamo
  Christmas Text Adventure OriginalCal 3 5,614 Dec-13-2016, 06:06 PM
Last Post: OriginalCal

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020