anchor.diff:    }
   
     // opening animations
  -  knight.animations.play('spin', 6, false)
  -
  -  boss.animations.play('rise', 8, false);
  -
  -  
  +  knight.animations.play('spin', 6, false);
  +  boss.animations.play('rise', 8, false); 
   }
   
   
   // update game environment
   function update() {
     // enable collision between knight and boss
  -  game.physics.arcade.collide(knight, boss)
  -
  -  game.physics.arcade.collide(knight, slimes)
  -
  -  game.physics.arcade.collide(slimes, slimes)
  -
  -  game.physics.arcade.collide(slimes, boss)
  +  game.physics.arcade.collide(knight, boss);
  +  // enable collision between knight and slimes
  +  game.physics.arcade.collide(knight, slimes);
  +  // enable collision between slimes and other slimes
  +  game.physics.arcade.collide(slimes, slimes);
  +  // enable collision between slimes and the boss
  +  game.physics.arcade.collide(slimes, boss);
   
     // enable overlapping physics between bullets and boss
   	game.physics.arcade.overlap(bullet, boss, collisionHandler, null, this);
  -
  +  // add slimes and bullets to overlapping physics (physics that do the same thing to diff. objects)
     game.physics.arcade.overlap(bullet, slimes, collisionHandler, null, this);
   
     // stop movement when keys are not pressed
  
positive.code:       won = game.add.sprite(game.world.centerX-130, 20, 'win');
      	knight.animations.play('victorious', 7, false);
  		}, 2000);
    }else{
      enemy.animations.play('flinch', 5, false);
    }
  }
  
  // create and style in-game text
  function createText() {
  
negative.code:   game.load.spritesheet('background', "<%= asset_path('map0.png') %>", 16, 16, 28);
  }
  
  // mobile fullscreen setup
  // game.scale.fullScreenScaleMode = Phaser.ScaleManager.EXACT_FIT;
  
  // create things in the game environment
  function create() {
  
    // set environment bounds
    game.world.setBounds(0, 0, 600, 600);
  
    // go fullscreen if playing on mobile
  