From d0f82b24d97aeb42fd424e6fa2ab562cce8aff50 Mon Sep 17 00:00:00 2001 From: Kelly Date: Fri, 2 Jun 2023 13:54:13 +0700 Subject: [PATCH] Update Room.js --- src/components/Room.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Room.js b/src/components/Room.js index 8049bf9..1a02f58 100644 --- a/src/components/Room.js +++ b/src/components/Room.js @@ -44,6 +44,7 @@ const flowers = ['Daisy','Rose','Iris','Narcissus','Orchid','Tulip','Sunflower', const sports = ['basketball', 'volleyball', 'badminton', 'hockey', 'ice skating', 'tennis', 'cycling', 'surfing', 'fencing', 'boxing', 'soccer', 'cricket', 'table tennis', 'rowing', 'snowboarding', 'baseball', 'bowling', 'skateboarding', 'figure skating', 'golf', 'canoeing', 'horse racing', 'archery', 'gymnastics', 'handball', 'ice hockey', 'bodybuilding', 'recreational fishing', 'karate', 'field hockey', 'lacrosse', 'softball', 'bobsleigh', 'judo', 'rafting', 'artistic swimming', 'olympic weightlifting', 'rhythmic gymnastics', 'racquetball', 'sailing', 'cheerleading', 'football', 'dodgeball', 'pole vault', 'darts', 'croquet', 'polo', 'shot put', 'taekwando', 'wrestling', 'rubgy'] const colors = ['red', 'yellow', 'blue', 'brown', 'orange', 'green', 'violet', 'black','grey','navy blue', 'carnation pink', 'yellow orange', 'blue green', 'red violet', 'red orange', 'yellow green', 'blue violet', 'white', 'violet red', 'dandelion', 'cerulean', 'apricot', 'scarlet', 'green yellow', 'indigo','gray'] const weather =['sunny', 'clear','cloudy','overcast','rain','drizzle','hail','humid','snow','thunderstorm','tornado','hurricane','fog','sandstorm'] +const genre =['action','adventure','animation','biography','comedy','crime','documentary','drama','family','fantasy','film noir','history','horror','musical','mystery','romance','science fiction','sports','thriller','war','western'] for (let i = 0; i < food.length; i++) { wordsets.push(['food', food[i]]) } @@ -107,6 +108,9 @@ for (let i = 1; i < colors.length; i++) { for (let i = 1; i < weather.length; i++) { wordsets.push(['weather', weather[i]]) } +for (let i = 0; i < genre.length; i++) { + wordsets.push(['genre', genre[i]]) +} class Room extends React.Component { constructor(props) { super(props)