game.js
// Creates a rectangle and sets its coordinates to (x, y) and width and height.
Creates a rectangle and sets its coordinates to (x, y) and width and height.
Creates a rectangle and sets its coordinates to ( x y ) and width and height .
function Rectangle(x, y, width, height) {
	this.x = x;
	this.y = y;
	this.width = width;
	this.height = height;
}
function Rectangle ( x , y , width , height ) { this . x = x ; this . y = y ; this . width = width ; this . height = height ; }
Creates a rectangle and sets its coordinates to (x, y) and width and height.
Creates a rectangle and sets its coordinates to ( x y ) and width and height .