-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtiles.js
31 lines (30 loc) · 1018 Bytes
/
tiles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
let scrabbleTiles = {
'A': {'count': 9, 'score': 1},
'B': {'count': 2, 'score': 3},
'C': {'count': 2, 'score': 3},
'D': {'count': 4, 'score': 2},
'E': {'count': 12, 'score': 1},
'F': {'count': 2, 'score': 4},
'G': {'count': 3, 'score': 2},
'H': {'count': 2, 'score': 4},
'I': {'count': 9, 'score': 1},
'J': {'count': 1, 'score': 8},
'K': {'count': 1, 'score': 5},
'L': {'count': 4, 'score': 1},
'M': {'count': 2, 'score': 3},
'N': {'count': 6, 'score': 1},
'O': {'count': 8, 'score': 1},
'P': {'count': 2, 'score': 3},
'Q': {'count': 1, 'score': 10},
'R': {'count': 6, 'score': 1},
'S': {'count': 4, 'score': 1},
'T': {'count': 6, 'score': 1},
'U': {'count': 4, 'score': 1},
'V': {'count': 2, 'score': 4},
'W': {'count': 2, 'score': 4},
'X': {'count': 1, 'score': 8},
'Y': {'count': 2, 'score': 4},
'Z': {'count': 1, 'score': 10},
'?': {'count': 2, 'score': 0}
};
let letterList = Object.keys(scrabbleTiles);