China

Ainky!


is
猪!


a

hěn


country!



Aink!

huān


I'm

wán


New

yóu


Pig!
吗?


You Win!

placeIndices shows which places are chosen (eg. 0 is Germany, 1 is China) places are chosen using function choosePlaces tileIndices is by default 0, 1, 2, ... to shuffle it, use shuffle(tileIndices) linkNumbers(tileIndices) will make numbers 'link' (tileIndices[a] is b, and tileIndices[b] is a) (by picking elements next to each other (like tileIndices[a] and tileIndices[a+1]) and making those link, and doing it for all other pairs) flagIndices shows which cards will have flags nameIndices shows which cards will have names for example, if flagIndices[a] is c, then the country/place at places[a] will have a flag shown at card c. (and its name will be shown at card nameIndices[a]) children of card elements 0: name 2: name (CHINESE) 4: pinyin 5: flag