python - Invalid Syntax on MUD Game -


pretty spent whole entire term getting python code typed , ready go although im hitting speedbumps , causing me panic assignment due tomorrow. im not sure how fix if can please fix this, happy!

im quite new website here full code python 3.5.1

https://www.dropbox.com/s/zoupk8z1sdqncpb/mud%20file%20%281%29.py?dl=0

i pretty begging please send me fixed version of whatever preventing code working.

thanks - tyson

your error invalid syntax, comes not correctly opening , closing. looking trough code see huge varation in formating style starting @ rooms = {compared rest of code.

i've put quotes inbetween part suspect wrong , runs directly. line 161 - 214:

""" rooms = {              1 : {  "name"  : "engine 1" ,                    "south" : 2,                 } ,                      2 : {  "name"  : "airlock" ,                    "north" : 1 ,                    "south" : 3,                    "east"  : 4,                    "item" : "plasma"                 } ,              3 : { "name" : "engine 2" ,                   "north" : 2 ,                   "item" : "pistol"                 } ,              4 :{  "name" : "hallway" ,                   "east" : 5 ,                   "west" : 2 ,                   "monster" : "manite protecter"                },              5 :{  "name" : "data center" ,                   "north" : 6 ,                   "east" : 8 ,                   "south" : 7 ,                   "west" : 4 ,                   "monster" : "tero-l21"                },              6 :{  "name" : "weapon command centre" ,                   "south" : 5 ,                   "item" : "plasma_x31_ar" ,                   "monster" : "possessed security officer" ,                },             7 :{  "name" : "quarantine" ,                   "north" : 8 ,                   "monster" : "xenon sentry" ,                } ,             8 :{  "name" : "cockpit" ,                   "monster" : "xenon overwatch" ,          } ,   { #start player in room 1     currentroom == 1:         showmap() showinstructions() } """           

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -