game.js
// Swap two points in the game
Swap two points in the game
Swap two points in the game
function swap(y1, x1, y2, x2) {
		var tmp = state[y1][x1];
		state[y1][x1] = state[y2][x2];
		state[y2][x2] = tmp;
		return this;
	}
function swap ( y1 , x1 , y2 , x2 ) { var tmp = state [ y1 ] [ x1 ] ; state [ y1 ] [ x1 ] = state [ y2 ] [ x2 ] ; state [ y2 ] [ x2 ] = tmp ; return this ; }
Swap two points in the game
Swap two points in the game