Skip to content

Commit f25dbc3

Browse files
Vivek SainaneeVivek Sainanee
authored andcommitted
added holidays
1 parent eb730b2 commit f25dbc3

2 files changed

Lines changed: 100 additions & 0 deletions

File tree

public/frontend.js

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ const pickRandomWord = () => {
9090
return foodWords[
9191
Math.floor(Math.random() * foodWords.length)
9292
].toUpperCase();
93+
} else if (packType.value === 'holidays') {
94+
return holidayWords[
95+
Math.floor(Math.random() * holidayWords.length)
96+
].toUpperCase();
9397
} else if (packType.value === 'sports') {
9498
return sportsWords[
9599
Math.floor(Math.random() * sportsWords.length)
@@ -1358,3 +1362,98 @@ const sportsWords = [
13581362
' World Series ',
13591363
' wrestling ',
13601364
];
1365+
1366+
const holidayWords = [
1367+
" Angels " ,
1368+
" Bells " ,
1369+
" Bethlehem " ,
1370+
" Candles " ,
1371+
" Candy " ,
1372+
" Candy canes " ,
1373+
" Cards " ,
1374+
" Cedar " ,
1375+
" Celebrate " ,
1376+
" Ceremonies " ,
1377+
" Chimney " ,
1378+
" Christmas cookies " ,
1379+
" Christmas tree " ,
1380+
" Cold " ,
1381+
" Comet " ,
1382+
" Cranberry sauce " ,
1383+
" Crowds " ,
1384+
" Cupid " ,
1385+
" Dancer " ,
1386+
" Dasher " ,
1387+
" December " ,
1388+
" Decorations " ,
1389+
" Dolls " ,
1390+
" Donner " ,
1391+
" Dressing " ,
1392+
" Eggnog " ,
1393+
" Elves " ,
1394+
" Family " ,
1395+
" Festival " ,
1396+
" Fir " ,
1397+
" Frosty " ,
1398+
" Fruitcake " ,
1399+
" Gift boxes " ,
1400+
" Gifts " ,
1401+
" Goodwill " ,
1402+
" Greetings " ,
1403+
" Ham " ,
1404+
" Happy " ,
1405+
" Holiday " ,
1406+
" Holly " ,
1407+
" Holy " ,
1408+
" Icicles " ,
1409+
" Jolly " ,
1410+
" Lights " ,
1411+
" Lists " ,
1412+
" Merry " ,
1413+
" Miracle " ,
1414+
" Mistletoe " ,
1415+
" New Year " ,
1416+
" Noel " ,
1417+
" North Pole " ,
1418+
" Pageant " ,
1419+
" Parades " ,
1420+
" Party " ,
1421+
" Pie " ,
1422+
" Pine " ,
1423+
" Plum pudding " ,
1424+
" Poinsettia " ,
1425+
" Prancer " ,
1426+
" Presents " ,
1427+
" Pumpkin pie " ,
1428+
" Punch " ,
1429+
" Red/green " ,
1430+
" Reindeer " ,
1431+
" Ribbon " ,
1432+
" Rudolph " ,
1433+
" Sacred " ,
1434+
" Sales " ,
1435+
" Sauce " ,
1436+
" Scrooge " ,
1437+
" Season " ,
1438+
" Sled " ,
1439+
" Sleighbells " ,
1440+
" Snowflakes " ,
1441+
" Spirit " ,
1442+
" St. Nick " ,
1443+
" Stand " ,
1444+
" Star " ,
1445+
" Stickers " ,
1446+
" Sweet potato " ,
1447+
" Tidings " ,
1448+
" Tinsel " ,
1449+
" Toys " ,
1450+
" Tradition " ,
1451+
" Traffic " ,
1452+
" Trips " ,
1453+
" Turkey " ,
1454+
" Vacation " ,
1455+
" Winter " ,
1456+
" Wrapping paper" ,
1457+
" Wreath " ,
1458+
" Yule "
1459+
];

public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ <h1>Codenames</h1>
3232
<option value="quarantine">Quarantine</option>
3333
<option value="foods">Foods</option>
3434
<option value="sports">Sports</option>
35+
<option value="holidays">Holidays</option>
3536
<option value="regular">Regular</option>
3637
</select>
3738
</div>

0 commit comments

Comments
 (0)