China
新
Ainky!


is
猪!
wǒ


a
你
hěn


country!
喜
xǐ


Aink!
欢
huān


I'm
游
wán


New
戏
yóu


Pig!
吗?
xì


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