anchor.diff:              }).text(luckMessage);
               
               $("#activate-animation-directions").fadeIn("30000");
  -        }
  +        };
           
     		$("form").submit(function(event) {
   			event.preventDefault();
  
positive.code: 					.attr("data-index", index);
                  $("#gameButtonGroup").append(button);
              });
          }
          
          function changeButton(button, color, text) {
              button.style.backgroundColor = color;
              button.innerHTML = text;
          }
          
          function animateImage() {
          	var luckMessageMargin = $("#luck-message").css("margin-top");
          	
              $("#win-pic").animate({
  
negative.code:             		});
              	});
              });
          };
          
          var winEvent = function winEvent(numRows){
          	var separateAfterGame = '<br style="clear:both" class="after-game"><br class="after-game">';
  			var winContainer = '<p id="win-message"></p>';
  			var winMessage = "You found the treasure! :D";
  