HTML and CSS Reference
In-Depth Information
["daniel1.jpg","daniel2.jpg"]
You can use any
number of paired
pictures, but notice
how the array
holding the last pair
does not have a
comma after the
bracket.
]
function Card(sx,sy,swidth,sheight, img, info) {
this.sx = sx;
this.sy = sy;
this.swidth = swidth;
this.sheight = sheight;
this.info = info;
Indicates matches
Img reference
this.img = img;
this.draw = drawback;
}
function makedeck() {
var i;
var acard;
var bcard;
var pica;
var picb;
var cx = firstsx;
var cy = firstsy;
for(i=0;i<pairs.length;i++) {
Search WWH ::




Custom Search