function Actuator() {
this.action     = document.querySelector(".action");
this.state      = document.querySelector(".state");

}

Actuator.prototype.actuate = function (dice, metadata) { // Connects to the dice and metadata
var self = this;

}
});

if (metadata = this.over) { // Stops the game when it is finished
self.data = false;
} else if (metadata = this.won) {
self.data = true;
  
};
  
  Actuator.prototype.actuate function self.dice { // Starts the Tetrahedron dice
  if dicechosen = 4;
  var Math.random() < 0.25 ? + : - : × : ÷;
  this.rolled = value;
    
  }
  
Actuator.prototype.actuate function self.dice { // Starts the Octahedron dice
  if dicechosen = 8;
  var Math.random() < 0.25 ? + : - : × : ÷;
  this.rolled = value;
  
  }
  

function Actuator() {
this.action     = document.querySelector(".action");
this.state      = document.querySelector(".state");

}

Actuator.prototype.actuate = function (Dice, metadata) { // Connects to the dice and metadata
var self = this;

}
});

if (metadata = this.over) { // Stops the game when it is finished
self.data = false;
} else if (metadata = this.won) {
self.data = true;
  
};
  
  Actuator.prototype.actuate function self.dice { // Starts the Tetrahedron dice
  if dicechosen = 4;
  var Math.random() < 0.25 ? + : - : × : ÷;
  this.rolled = value;
    
  }
  
Actuator.prototype.actuate function self.dice { // Starts the Octahedron dice
  if dicechosen = 8;
  var Math.random() < 0.25 ? + : - : × : ÷;
  this.rolled = value;
  
  }
  

Update actuator.js