I put this underneath bugs because the code is exactly the same as the course answer page. Whenever i try to beat the level, i get the error, “TypeError: game.setGameState is not a function.”
Here is all of the code, any information would be greatly appreciated.
do not post solutions
 
            
              
            
           
          
            
            
              
try changing setGameState to setGoalState. You sure this is the answer given by Code Combat? (If it’s written by your teacher it might be a typo). Also did u hand-copy this or did u copy and paste it?
             
            
              1 Like 
            
            
           
          
            
            
              It worked, i completed the level, but I’m am sure that my code was the same as Code Combat’s. Also, I hand-copied.
             
            
              
            
           
          
            
            
              @maka  could this be a potential typo
             
            
              
            
           
          
            
              
                maka  
              
                  
                    August 8, 2018,  5:17pm
                   
                  5 
               
             
            
              I’ve very confused by this thread.  Why does it say [solved] if it is not yet solved?
Do not post solutions, especially if they’re from the course guides page.
The default code for this level also had an error (setGameState does not exist).
However, there also seems to be something wrong on this level, so I’m reporting it to the content team to take a look at it.
             
            
              1 Like 
            
            
           
          
            
            
              Someone marked it solved even though it’s not solved I have no idea who.
             
            
              
            
           
          
            
            
              The owner of this topic marked it as solved.
             
            
              
            
           
          
            
            
              That means that it is solved scince he said that he figured it out
             
            
              
            
           
          
            
            
              So, he’s Solved it so no need to revive it.
             
            
              
            
           
          
            
            
              pls give me your right way to do this level, (im from russia, and i know english bad)
             
            
              
            
           
          
            
            
              Hello and welcome to the codecombat discourse, @violleta.plot !
  
  
    Welcome! 
New users, welcome to codecombat discourse! As you know, this place is where you can ask for help, get hints on levels, share experiences that you had while playing codecombat, reporting bugs, etc.! Feel free to enjoy your time here, but here’s a few things you should know before going ahead. 
Trust levels 
If you click on my profile picture, you should see a list of badges and in the first one, it should say, leader. That’s trust level 4. What exactly is a trust level? A trust level c…