Site hosted by Angelfire.com: Build your free website today!
" result += "" result += "
" for (var i = 0; i < 4; i++) { result += "" for (var j = 0; j < 4; j++) { xy = (i*4+j) result += "" } result += "" } result += "
" if (displayedBoard[xy] != board[xy]) { result += "" } // end if result += "" if (displayedBoard[xy] != board[xy]) { result += "" done = false } // end if result += "
" self.disp.document.open() self.disp.document.writeln(result) self.disp.document.close() } // main function evaluating clicked card function clickCard(coord) { checkCard(coord) setCard(coord) moves++ } // end script hiding --> JavaScript, requires Netscape 2.0+ or Explorer 3.0