gamePieces = {};

gamePieces.createTeleport = function() {
  starOne = game.add.sprite(10, game.world.height - 300, 'star');
  starOne.anchor.setTo(0.5, 0.5);
  starOne.scale.setTo(1,1);

  starTwo = game.add.sprite(790, game.world.height - 300, 'star');
  starTwo.anchor.setTo(0.5, 0.5);
  starTwo.scale.setTo(1,1);
}

gamePieces.createOneDot = function() {
    dot = game.add.sprite(Math.random()*800, Math.random()*600, 'diamond');
    dot.anchor.setTo(0.5, 0.5);
    dots.push(dot);
};

gamePieces.createMultipleDots = function(count) {
    for(var i = 0; i < count; i++){
    gamePieces.createOneDot();
  }
};

@@ -604,12 +604,159 @@
 t();%0A  %7D%0A%7D;%0A
+%0AgamePieces.createPowerUp = function() %7B%0A  cherry = game.add.sprite(250, 200, 'star');%0A  cherry.anchor.setTo(0.5, 0.5);%0A  powerUp.push(cherry);%0A%7D;%0A

create power up throws an object on the game board that when grabbed acts as the power up