function drawSplash(drawContext, x, y, width, height) {
		var oldStrokeStyle = drawContext.strokeStyle;
		drawContext.strokeStyle = "white";

		//Initialize the new path
		drawContext.beginPath();

		//Place the pen at the top-left corner of the cell
		drawContext.moveTo(x, y);

		//Move the pen to the bottom-right corner of the cell
		drawContext.lineTo(x + width, y + height);

		//Place the pen at the top-right corner of the cell
		drawContext.moveTo(x + width, y);

		//Move the pen to the bottom-left corner of the cell
		drawContext.lineTo(x, y + height);

		//Finalize the path and draw it to the canvas
		drawContext.stroke();

		//Restore the old stroke style
		drawContext.strokeStyle = oldStrokeStyle;
	}
//Draws a white X over the cell
Draws a white X over the cell
Draws a white X over the cell
function drawSplash(drawContext, x, y, width, height) {
		var oldStrokeStyle = drawContext.strokeStyle;
		drawContext.strokeStyle = "white";
		drawContext.beginPath();
		drawContext.moveTo(x, y);
		drawContext.lineTo(x + width, y + height);
		drawContext.moveTo(x + width, y);
		drawContext.lineTo(x, y + height);
		drawContext.stroke();
		drawContext.strokeStyle = oldStrokeStyle;
	}
function drawSplash ( drawContext , x , y , width , height ) { var oldStrokeStyle = drawContext . strokeStyle ; drawContext . strokeStyle = "white" ; drawContext . beginPath ( ) ; drawContext . moveTo ( x , y ) ; drawContext . lineTo ( x + width , y + height ) ; drawContext . moveTo ( x + width , y ) ; drawContext . lineTo ( x , y + height ) ; drawContext . stroke ( ) ; drawContext . strokeStyle = oldStrokeStyle ; }
Draws a white X over the cell
Draws a white X over the cell
//Initialize the new path //Place the pen at the top-left corner of the cell //Move the pen to the bottom-right corner of the cell //Place the pen at the top-right corner of the cell //Move the pen to the bottom-left corner of the cell //Finalize the path and draw it to the canvas //Restore the old stroke style