Difference between revisions of "Team:Carnegie Mellon/game"

Line 855: Line 855:
 
 
 
function restart(){
 
function restart(){
var name = window.prompt("what is your cell's name?","");
+
_myCell = new Cell(false, "mainPlayer"); //NOT a computer
_myCell = new Cell(false, name); //NOT a computer
+
 
_myCell.spawnCell();
 
_myCell.spawnCell();
 
updateDarkness(_myCell);
 
updateDarkness(_myCell);

Revision as of 14:26, 29 June 2015

Luciferase: The Game