server/engine/gameLogic/Map.js
/**
 * helper function
 * NumTokenToHexTiles is a map that map each number token to a list of hextile that has this num token. So we can get hextiles by number token
 * @return {[number]}
 */
helper function
NumTokenToHexTiles is a map that map each number token to a list of hextile that has this num token. So we can get hextiles by number token
@return {[number]}
helper function NumTokenToHexTiles is a map that map each number token to a list of hextile that has this num token . So we can get hextiles by number token @return { [ number ] }
function initNumTokenToHexTiles() {
    let numTokenToHexTiles = [13];
    for (let i = 0; i< 13; i++){
        numTokenToHexTiles[i] = [];
    }
    return numTokenToHexTiles;
}
function initNumTokenToHexTiles ( ) { let numTokenToHexTiles = [ 13 ] ; for ( let i = 0 ; i < 13 ; i ++ ) { numTokenToHexTiles [ i ] = [ ] ; } return numTokenToHexTiles ; }
helper function
 NumTokenToHexTiles is a map that map each number token to a list of hextile that has this num token.
helper function NumTokenToHexTiles is a map that map each number token to a list of hextile that has this num token .