on 703ff86 help sign in
bridge/src/lib/hosting.js
26 lines 476 B history raw
1export const getVaneName = code => {
2 switch (code) {
3 case 'a':
4 return 'Ames';
5 case 'b':
6 return 'Behn';
7 case 'c':
8 return 'Clay';
9 case 'd':
10 return 'Dill';
11 case 'e':
12 return 'Eyre';
13 case 'f':
14 return 'Ford';
15 case 'g':
16 return 'Gall';
17 case 'i':
18 return 'Iris';
19 case 'j':
20 return 'Jael';
21 default:
22 return '';
23 }
24};
26export const getVaneNumber = code => 1 + 'abcdefgij'.indexOf(code);