anchor.diff:                              case "STALEMATE":
                                       alert("Game has ended in a draw");
                                       break;
  +                            case "WHITE_IN_CHECK":
  +                                    gameInfoPanel.text("${GAME.player.name}'s king is in check");
  +                                    break;
  +                            case "BLACK_IN_CHECK":
  +                                    gameInfoPanel.text("${GAME.opponent.name}'s king is in check");
  +                                    break;
                               default:
  -                                    console.log("STATUS:" + message.body);
                                       break;
                               }
                           } else if(message.headers.TYPE === "INFO"){
                               console.log("INFO:" + message.body);
  +                            gameInfoPanel.text(message.body);
                           } else if(message.headers.TYPE === "UPDATE") {
                               updateChessBoard(playerColour, message.body);
                           }
  
positive.code: var destId = "";
  var startOfMove = true;
  var playerColour = "${PLAYER.colour}";
  var gameMessages;
      
  interact('.draggable')
    .draggable({
  
negative.code:         
  	    	stompClient.subscribe("/user/queue/updates",
  	    	        function(message){
                              if(message.headers.TYPE === "ERROR") {
                                  gameInfoPanel.text(message.body);
                                  if(oldChessBoard !== undefined || oldChessBoard !== {}) {
                                      createChessBoard(playerColour, oldChessBoard);
                                  }
                              } else if(message.headers.TYPE === "UPDATE") {
                                  updateChessBoard(playerColour, message.body);
                              } else if(message.headers.TYPE === "INFO") {
                                  gameInfoPanel.text(message.body);
                              }
              });
  	    	
  	    	stompClient.subscribe("/topic/updates",
      	        function(message){
                          console.log("message:" + message.body);
                          if(message.headers.TYPE === "ERROR") {
                              updateChessBoard(message.body);    
                          } else if(message.headers.TYPE === "STATUS") {
                              gameInfoPanel.text(message.body);
                              switch(message.body) {
                              case "WHITE_CHECKMATE":
                                      alert("${GAME.opponent.name} has won the game");
  