HTML and CSS Reference
In-Depth Information
Code
Explanation
["Indonesia","Jakarta",false],
["Brazil","Brasilia",false],
["Russia","Moscow",false],
["Japan","Tokyo",false],
["Mexico","Mexico City",false],
["Germany","Berlin",false],
["Turkey","Ankara",false],
["France","Paris",false],
["United Kingdom","London",false],
["Italy","Rome",false],
["South Africa","Pretoria",false],
["South Korea","Seoul",false],
["Argentina","Buenos Aires",false],
["Canada","Ottawa",false],
["Saudi Arabia","Riyadh",false],
["Australia","Canberra",false]
];
Closing the array
var thingelem;
Variable declaration for created elements
var nq = 4;
Number of pairs presented to the player
var elementinmotion;
Variable to hold the first element clicked on
var makingmove = false;
Variable to distinguish first click situation and second
click situation
Search WWH ::




Custom Search