" if (displayedBoard[xy] != board[xy]) { result += "" } // end if result += "" if (displayedBoard[xy] != board[xy]) { result += "" done = false } // end if result += " | " } 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 -->