anchor.diff:  
   	If result <> "north" And result <> "south" And result <> "east" And result <> "west" Then
   		EndGameTrigger("Illegal Move [" & result & "]")
  -	ElseIf result = "x" Then
  -		EndGameTrigger("I HAZ CHEEZEBURGERZ!!!!")
  -		PlayMaze = result
   	Else
   		Kitty.Move(result)
   	End If
  
positive.code: 			If inStr(Look(), "N") Then
  				
  				add_to_location_history()
  				moveKitten("north")
  				y_location = y_location -1
  
  				
  			End If
  		Case "south"
  			If inStr(Look(), "S") Then
  				add_to_location_history()
  				moveKitten("south")
  				y_location = y_location +1
  			End If
  		Case "east"
  			If inStr(Look(), "E") Then
  				add_to_location_history()
  				moveKitten("east")
  				x_location = x_location +1
  			End If
  		Case "west"
  			If inStr(Look(), "W") Then
  				add_to_location_history()
  				moveKitten("west")
  				x_location = x_location -1
  			End If
  		End Select
  
  
negative.code: 
  
  function moveKitten (direction){
  if (isEndGame()=="true"){
  	moveKittenEndGame(direction);
  }else{
  	switch (direction)
  	{
  	case "north":
  	
  	var topValue = $("#kitten").css("top");
  	topValue = parseInt(topValue) - 30;
  	$("#kitten").animate({top:topValue.toString()+"px"}, {
  	     easing: 'swing',
  	     duration: 1000,
  	     complete: function(){GameController();}
  	        
  	    });
  	
  	break;
  	case "south":
  	var topValue = $("#kitten").css("top");
  	topValue = parseInt(topValue) + 30;
  	$("#kitten").animate({top:topValue.toString()+"px"}, {
  	     easing: 'swing',
  	     duration: 1000,
  	     complete: function(){GameController();}
          
  	    });
  
  	break;
  	case "east":
  	var moveEast = $("#kitten").css("left");
  	moveEast = parseInt(moveEast) + 30;
  	$("#kitten").animate({left:moveEast.toString()+"px"}, {
  	     easing: 'swing',
  	     duration: 1000,
  	     complete: function(){GameController();}
  	        
  	    });
  	
  	break;
  	case "west":
  	var moveWest = $("#kitten").css("left");
  	moveWest = parseInt(moveWest) - 30;
  	$("#kitten").animate({left:moveWest.toString()+"px"}, {
  	     	easing: 'swing',
      		duration: 1000,
       		complete: function(){GameController();}
          
      	});
  
  	break;
  	}
  }
  }
  function moveKittenEndGame (direction){
  
  	switch (direction)
  	{
  	case "north":
  	
  	var topValue = $("#kitten").css("top");
  	topValue = parseInt(topValue) - 30;
  	$("#kitten").animate({top:topValue.toString()+"px"}, {
  	     easing: 'swing',
  	     duration: 1000,
  	     complete: function(){EndGameTrigger("I HAZ CHEEZEBURGERZ!!!!");}
  	        
  	    });
  	
  	break;
  	case "south":
  	var topValue = $("#kitten").css("top");
  	topValue = parseInt(topValue) + 30;
  	$("#kitten").animate({top:topValue.toString()+"px"}, {
  	     easing: 'swing',
  	     duration: 1000,
  	     complete: function(){EndGameTrigger("I HAZ CHEEZEBURGERZ!!!!");}
          
  	    });
  
  	break;
  	case "east":
  	var moveEast = $("#kitten").css("left");
  	moveEast = parseInt(moveEast) + 30;
  	$("#kitten").animate({left:moveEast.toString()+"px"}, {
  	     easing: 'swing',
  	     duration: 1000,
  	     complete: function(){EndGameTrigger("I HAZ CHEEZEBURGERZ!!!!");}
  	        
  	    });
  	
  	break;
  	case "west":
  	var moveWest = $("#kitten").css("left");
  	moveWest = parseInt(moveWest) - 30;
  	$("#kitten").animate({left:moveWest.toString()+"px"}, {
  	     	easing: 'swing',
      		duration: 1000,
       		complete: function(){EndGameTrigger("I HAZ CHEEZEBURGERZ!!!!");}
          
      	});
  
  	break;
  	}
  }
  
  </script>
  