Invalid Syntax on MUD Game
<p>pretty much spent a whole entire term getting this python code typed up and ready to go although im hitting some speedbumps and it is causing me to panic as the assignment is due tomorrow. Im not too sure how to fix it so if anyone can please fix this, I would be so happy! </p>

<p>Im quite new to this website so here is my full code for Python 3.5.1</p>

<p><a href="https://www.dropbox.com/s/zoupk8z1sdqncpb/MUD%20File%20%281%29.py?dl=0" rel="nofollow">https://www.dropbox.com/s/zoupk8z1sdqncpb/MUD%20File%20%281%29.py?dl=0</a></p>

<p>I am pretty much begging someone to please send me back a fixed version of whatever is preventing this code from working.</p>

<p>Thanks
- Tyson</p>

<p>Your Error is invalid Syntax, which comes from not correctly opening and closing.
Looking trough the code I see huge varation in formating style starting at <code>rooms = {</code>compared to the rest of the code.</p>

<p>I've put some quotes inbetween the part I suspect to be wrong and it runs directly. line 161 - 214:</p>

<pre><code>"""
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 the player in room 1    
currentRoom == 1:        
showMap()
showInstructions()
}
"""          
</code></pre>

python python-3.x