diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3af89c7..d7e8655 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - name: Install dependencies run: | yarn - yarn playwright install + yarn playwright install - name: test and build env: BASE_PATH: '/${{ github.event.repository.name }}' diff --git a/playwright.config.ts b/playwright.config.ts index 66bb570..54646be 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -7,7 +7,6 @@ const config: PlaywrightTestConfig = { }, testDir: 'tests', testMatch: /(.+\.)?(test|spec)\.[jt]s/ - }; export default config; diff --git a/src/app.pcss b/src/app.pcss index 967d11d..b53c220 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -1,41 +1,39 @@ /* Write your global styles here, in PostCSS syntax */ :root { - /* only used for background color */ - --primary: #fffaf2; - /* used for hint button, shuffle colors */ - --secondary: #ffe1b8; - /* used for menus and inputs */ - --tertiary: white; - /* used for all text */ - --text: #002147; - --text-hover: #f5f2e4; - - /* difficulty */ - --easy: #b2f2af; - --medium: #f2e8af; - --hard: #f2afaf; - --expert: #afaff2; - - --hint5: #ffebcc; - + /* only used for background color */ + --primary: #fffaf2; + /* used for hint button, shuffle colors */ + --secondary: #ffe1b8; + /* used for menus and inputs */ + --tertiary: white; + /* used for all text */ + --text: #002147; + --text-hover: #f5f2e4; + + /* difficulty */ + --easy: #b2f2af; + --medium: #f2e8af; + --hard: #f2afaf; + --expert: #afaff2; + + --hint5: #ffebcc; } - html[data-theme='dark'] { - --primary: #1E1E1E; + --primary: #1e1e1e; - --secondary: #2F2F2F; + --secondary: #2f2f2f; - --tertiary: #333333; + --tertiary: #333333; - --text: #FFFFFF; + --text: #ffffff; - --text-hover: #C0C0C0; + --text-hover: #c0c0c0; - --easy: #2F2F2F; - --medium: #2F2F2F; - --hard: #2F2F2F; - --expert: #2F2F2F; + --easy: #2f2f2f; + --medium: #2f2f2f; + --hard: #2f2f2f; + --expert: #2f2f2f; - --hint5: #2F2F2F; -} \ No newline at end of file + --hint5: #2f2f2f; +} diff --git a/src/lib/ContextMenu.svelte b/src/lib/ContextMenu.svelte index f3cf5c6..76a0641 100644 --- a/src/lib/ContextMenu.svelte +++ b/src/lib/ContextMenu.svelte @@ -34,8 +34,9 @@ >
  • -
  • diff --git a/src/lib/GuessBox.svelte b/src/lib/GuessBox.svelte index 0a97040..80b20b1 100644 --- a/src/lib/GuessBox.svelte +++ b/src/lib/GuessBox.svelte @@ -35,7 +35,7 @@ autocapitalize="off" bind:value={guess} id="guessInput" - class="{isAnswerIncorrect ? 'incorrect' : ''}" + class={isAnswerIncorrect ? 'incorrect' : ''} bind:this={guessInput} autocomplete="off" placeholder="type a word" diff --git a/src/lib/data/words.json b/src/lib/data/words.json index 17956e9..8c59188 100644 --- a/src/lib/data/words.json +++ b/src/lib/data/words.json @@ -1,662 +1,662 @@ [ - { - "word": "downgrade", - "hintDb": [ - "I can happen to products, services, or statuses.", - "I often result from poor performance or a decrease in quality.", - "I can mean lowering something to a less desirable state.", - "I am used to describe a reduction in rank, status, or importance.", - "I can be the opposite of an upgrade." - ], - "difficulty": "hard", - "day": 1721174400000 - }, - { - "word": "audience", - "hintDb": [ - "I am found in theaters, concerts, and classrooms.", - "I can be large or small, depending on the event.", - "I am essential for performers, speakers, and presenters.", - "I am the group of people who listen to or watch something.", - "I am the collective viewers or listeners of a performance or presentation." - ], - "difficulty": "medium", - "day": 1721088000000 - }, - { - "word": "verification", - "hintDb": [ - "I can be required for accessing accounts or services.", - "I ensure that something is true or accurate.", - "I often involve checking information or credentials.", - "I am a process used to confirm something's authenticity.", - "I involve confirming the validity of something through evidence or documentation." - ], - "difficulty": "hard", - "day": 1721001600000 - }, - { - "word": "basketball", - "hintDb": [ - "I originated in the United States.", - "I am orange with black stripes.", - "I am typically made of rubber or synthetic materials.", - "I am a bouncy ball used in a popular sport.", - "I am often bounced, dribbled, and passed between players." - ], - "difficulty": "medium", - "day": 1716585041259 - }, - { - "word": "alacrity", - "hintDb": [ - "I can be contagious and inspire others.", - "I can help overcome obstacles and achieve goals.", - "I am often seen as a positive trait or attribute.", - "I can be associated with enthusiasm and eagerness.", - "I am a quick and cheerful willingness to do something." - ], - "difficulty": "expert", - "day": 1716671441259 - }, - { - "word": "aesthetic", - "hintDb": [ - "I can be used to describe a variety of things, like a room, a piece of clothing, or a website.", - "I am often used in discussions about taste, style, and culture.", - "I come from a greek word meaning \"perception\" or \"sensation\".", - "I am often associated with art, design, and beauty.", - "I am a word used to describe something visually pleasing or appealing." - ], - "difficulty": "medium", - "day": 1716757841259 - }, - { - "word": "pandemic", - "hintDb": [ - "I am widespread and affect many people.", - "I cause panic and fear worldwide.", - "I can be deadly and have a high mortality rate.", - "I can be caused by a virus, bacteria, or other microorganism.", - "I am a global outbreak of a disease." - ], - "difficulty": "hard", - "day": 1716844241259 - }, - { - "word": "pizza", - "hintDb": [ - "I can be customized to individual preferences.", - "I have become a staple in many countries.", - "I come in different shapes and sizes.", - "I originated in Italy.", - "I am a popular food choice for many people." - ], - "difficulty": "easy", - "day": 1716930641259 - }, - { - "word": "hint", - "hintDb": [ - "I can be subtle or obvious.", - "I am a helpful tool for learning or discovery.", - "'He couldn't catch the ____.'", - "I am a discreet cue that can help point someone in the right direction.", - "A word game is named after me." - ], - "difficulty": "easy", - "day": 1717017041259 - }, - { - "word": "apathy", - "hintDb": [ - "I can be harmful to a person or society.", - "I can be a response to dissatisfaction or a lack of interest.", - "I am often associated with a feeling of detachment or indifference.", - "I can be overcome with effort and empathy.", - "I am the lack of emotion or interest." - ], - "difficulty": "medium", - "day": 1717103441259 - }, - { - "word": "guitar", - "hintDb": [ - "I am a popular device for professionals and hobbyists.", - "I can be electric and come in many shapes in sizes.", - "I have been used in many different styles of music.", - "I am often used to accompany singing or as a solo instrument.", - "I am a musical instrument that is played by strumming or plucking strings." - ], - "difficulty": "medium", - "day": 1717189841259 - }, - { - "word": "ocean", - "hintDb": [ - "I am a source of inspiration for artists and writers.", - "I can be dangerous and unpredictable.", - "I have different layers and depths.", - "I am essential to earth's ecosystem.", - "I cover most of the Earth's surface." - ], - "difficulty": "easy", - "day": 1717276241259 - }, - { - "word": "sloth", - "hintDb": [ - "\"You act like a ____.\"", - "I am a type of animal.", - "I live in the trees of a rainforest.", - "I spent most of my time sleeping and resting.", - "I am known for being slow and lazy." - ], - "difficulty": "easy", - "day": 1717362641259 - }, - { - "word": "marathon", - "hintDb": [ - "I am named after a famous battle in greek history.", - "I am held in many cities around the world, including Boston, New York, and London.", - "I have a rich history and cultural significance, dating back to the Olympic games in 1896.", - "I am 26.2 miles long.", - "I am a long-distance race that tests endurance." - ], - "difficulty": "medium", - "day": 1717449041259 - }, - { - "word": "parachute", - "hintDb": [ - "I was first used in the 18th century by a French inventor.", - "I can be opened manually or automatically, depending on the design.", - "I am made of fabric and cords that create drag and provide stability.", - "I am essential to the safety of skydivers, pilots, and astronauts.", - "I am used to slow the descent of a person or object." - ], - "difficulty": "easy", - "day": 1717535441259 - }, - { - "word": "telescope", - "hintDb": [ - "I am named after a Greek word meaning \"far-seeing\".", - "I am an optical instrument.", - "I can be used to observe distant objects.", - "I can be used for terrestrial and astronomical observations.", - "I am used for studying the sky and other objects in space." - ], - "difficulty": "easy", - "day": 1717621841259 - }, - { - "word": "escalator", - "hintDb": [ - "I come from the Latin word for steps.", - "I am a mechanical device.", - "I am found in many public places, including airports and malls.", - "I move people from one level to another.", - "I am a moving staircase." - ], - "difficulty": "hard", - "day": 1717708241259 - }, - { - "word": "schadenfreude", - "hintDb": [ - "I can be felt unconsciously or consciously.", - "I can be seen as a negative or immoral emotion.", - "I am a complex emotion involving empathy, envy, and pleasure.", - "My origins are traced back to German language and culture.", - "I am a German word that means \"harm-joy\"." - ], - "difficulty": "expert", - "day": 1717794641259 - }, - { - "word": "enigma", - "hintDb": [ - "Solving me requires a combination of logic and intuition.", - "I am sometimes associated with mystery and secrecy.", - "My origin can be traced back to the Greek word \"ainissesthai\", meaning \"to speak in riddles\".", - "The inner workings of my mind are an _________.", - "I am something mysterious, puzzling, or difficult to understand." - ], - "difficulty": "hard", - "day": 1717881041259 - }, - { - "word": "paradox", - "hintDb": [ - "I am often used to illustrate a deeper truth or idea.", - "My name comes from a Greek word meaning \"contrary to expectation\".", - "I can be found in literature, science, philosophy, and mathematics.", - "We are stuck in a _________.", - "I am a statement that seems contradictory but may be true." - ], - "difficulty": "hard", - "day": 1717967441259 - }, - { - "word": "satire", - "hintDb": [ - "I am often used for bringing attention to societal problems or issues.", - "I can be used to make social or political commentary.", - "I am a type of writing of speech.", - "I use humor, irony, or exaggeration to criticize people or institutions.", - "Example: A Modest Proposal by Jonathan Swift." - ], - "difficulty": "medium", - "day": 1718053841259 - }, - { - "word": "hypothesis", - "hintDb": [ - "I can be proven or disproven.", - "I am often written as an if-then statement.", - "I am an important part of the scientific method.", - "I am often tested through experimentation.", - "I am a tentative explanation for an observation or phenomenon." - ], - "difficulty": "medium", - "day": 1718140241259 - }, - { - "word": "dystopia", - "hintDb": [ - "I am often portrayed in literature and film.", - "I am often characterized by a lack of freedom and a high level of control.", - "I am a type of society.", - "I am often associated with a totalitarian government.", - "I am a society characterized by human misery, oppression, and poverty." - ], - "difficulty": "medium", - "day": 1718226641259 - }, - { - "word": "ethos", - "hintDb": [ - "I can be used in various forms of communication, including speeches, advertisements, and essays.", - "I am often associated with ethical or moral values.", - "I am a Greek word that means \"character\".", - "I am a rhetorical appeal that focues on the character of the speaker or writer.", - "I am one of the three modes of persuasion in Aristotle's Rhetoric." - ], - "difficulty": "hard", - "day": 1718313041259 - }, - { - "word": "mellifluous", - "hintDb": [ - "My roots come from the Latin words mel, meaning \"honey,\" and fluere, meaning \"to flow.\"", - "My antonyms are harsh, grating, and unpleasant.", - "My synonyms are harmonious, melodious, and tuneful.", - "I am often used to describe sounds, especially voices or music.", - "I am an adjective meaning pleasant or musical to the ear." - ], - "difficulty": "expert", - "day": 1718399441259 - }, - { - "word": "dolphin", - "hintDb": [ - "I am known for my intelligence and ability to learn.", - "I am friendly and playful and known to interact with humans in the wild.", - "Many people believe I am a fish, but I am actually a mammal.", - "I use clicks, whistles, and body language to communicate.", - "I am a cetacean found in oceans around the world." - ], - "difficulty": "easy", - "day": 1718485841259 - }, - { - "word": "quartz", - "hintDb": [ - "I can be transparent, translucent, or opaque.", - "I am composed of silicon and oxygen atoms.", - "I can be used in jewelry, clocks, watches, and electronics.", - "I am a common mineral found in many rocks.", - "I have a hexagonal crystal structure and a hardness of 7 on the Mohs scale." - ], - "difficulty": "hard", - "day": 1718572241259 - }, - { - "word": "jazz", - "hintDb": [ - "I originated in the late 19th and early 20th centuries.", - "I have many subgenres, such as bebop, cool, fusion, and smooth.", - "I am characterized by complex rhythms, syncopation, swing, and improvisation.", - "I have influenced many other forms of music, such as rock, pop, and hip hop.", - "I have produced many famous musicians, such as Louis Armstrong, Duke Ellington, Miles Davis, and John Coltrane." - ], - "difficulty": "medium", - "day": 1718658641259 - }, - { - "word": "cryptocurrency", - "hintDb": [ - "I operate independently of a central authority or intermediary.", - "I use cryptography to secure and verify transactions and to control the creation of new units.", - "I can be exchanged for goods, services, or other currencies on online platforms.", - "I am a digital or virtual form of money.", - "I have many examples, such as Bitcoin, Ethereum, and Dogecoin." - ], - "difficulty": "hard", - "day": 1718745041259 - }, - { - "word": "yoga", - "hintDb": [ - "I am often associated with a word that means \"union\" or \"connection\".", - "I can promote health, wellness, and relaxation.", - "I am a physical, mental, and spiritual practice that originated in India.", - "I involve various postures, breathing techniques, and meditation.", - "I have many types, such as hatha, vinyasa, bikram, and ashtanga." - ], - "difficulty": "easy", - "day": 1718831441259 - }, - { - "word": "origami", - "hintDb": [ - "I am an ancient Japanese art form.", - "I am a traditional craft that fosters patience and creativity.", - "I require precision and attention to detail.", - "I create sculptures without cutting or gluing.", - "I involve folding paper into intricate designs." - ], - "difficulty": "medium", - "day": 1718917841259 - }, - { - "word": "zebra", - "hintDb": [ - "I can be found in Africa.", - "I can be a prey for lions, hyenas, or crocodiles.", - "I can be related to horses and donkeys.", - "I can have black and white stripes.", - "I am a type of animal that belongs to the genus Equus." - ], - "difficulty": "easy", - "day": 1719004241259 - }, - { - "word": "onomatopoeia", - "hintDb": [ - "I can be used to create vivid and expressive language.", - "I can be found in poetry, comics, or literature.", - "I can imitate or suggest a sound.", - "I can be words like bang, splash, or meow.", - "I am a word that sounds like what it means." - ], - "difficulty": "expert", - "day": 1719090641259 - }, - { - "word": "chameleon", - "hintDb": [ - "I am capable of blending into my surroundings.", - "I am known for changing colors.", - "I use my unique features for survival in diverse environments.", - "I have independently moving eyes.", - "I am a reptile with a prehensile tail." - ], - "difficulty": "medium", - "day": 1719177041259 - }, - { - "word": "sushi", - "hintDb": [ - "I originated in Japan.", - "I can be eaten with chopsticks, fingers, or utensils.", - "I can have different ingredients, such as fish, rice, seaweed, or vegetables.", - "I can be served with soy sauce, wasabi, and ginger.", - "I am a type of food that is often wrapped in nori." - ], - "difficulty": "easy", - "day": 1719263441259 - }, - { - "word": "gravity", - "hintDb": [ - "I can be affected by mass and distance.", - "I can be described by a famous equation", - "I am a force that attracts two objects with mass.", - "I can be be different on different planets or celestial bodies.", - "I keep you from floating away from the earth." - ], - "difficulty": "hard", - "day": 1719349841259 - }, - { - "word": "origami", - "hintDb": [ - "I am a traditional craft that fosters patience and creativity.", - "I require precision and attention to detail.", - "I am an ancient Japanese art form.", - "I create sculptures without cutting or gluing.", - "I involve folding paper into intricate designs." - ], - "difficulty": "medium", - "day": 1719436241259 - }, - { - "word": "moon", - "hintDb": [ - "I have many phases.", - "I am a satellite.", - "I am visible at night.", - "I control the ocean tides.", - "I am the only celestial body humans have visited." - ], - "difficulty": "easy", - "day": 1719522641259 - }, - { - "word": "constellation", - "hintDb": [ - "I have been named after mythological figures and animals.", - "I am used for navigation and storytelling.", - "My patterns are often recognized in the night sky.", - "I am a group of stars forming a pattern.", - "I am a celestial arrangement visible from Earth." - ], - "difficulty": "medium", - "day": 1719609041259 - }, - { - "word": "resilience", - "hintDb": [ - "I am an important concept in psychology, ecology, and engineering.", - "I am considered a positive trait in individuals, organizations, and systems.", - "I can be symbolized as a tree able to withstand storms.", - "My name is derived from the Latin word \"resilio,\" meaning \"to spring back.\"", - "I am the ability to recover and adapt in the face of challenges or adversity." - ], - "difficulty": "hard", - "day": 1719695441259 - }, - { - "word": "ephemeral", - "hintDb": [ - "I am often used to describe something short-lived or fleeting.", - "I can be associated with the transient nature of life.", - "My name is derived from a Greek word meaning \"lasting only a day.\"", - "I am used to express the brevity of certain experiences or phenomena.", - "A beautiful sunset is an example of something that can be described as ____." - ], - "difficulty": "expert", - "day": 1719781841259 - }, - { - "word": "quarantine", - "hintDb": [ - "I can be imposed by authorities or self-imposed.", - "I can last for a specific period of time, usually 14 days.", - "I can involve isolation, social distancing, and testing.", - "I can be a measure to prevent or limit the spread of something.", - "I separate and restrict the movement of people who may have been exposed to a contagious illness." - ], - "difficulty": "medium", - "day": 1719868241259 - }, - { - "word": "chocolate", - "hintDb": [ - "I am usually brown in color.", - "I am a type of food.", - "I am a sweet and delicious treat.", - "I come from the seeds of a tropical tree.", - "I can be used to make cakes, cookies, and candies." - ], - "difficulty": "easy", - "day": 1719954641259 - }, - { - "word": "pyramid", - "hintDb": [ - "I come from an ancient civilization.", - "I have a triangular shape.", - "I can be found in Egypt, Mexico, and Tennessee.", - "I am a type of structure.", - "I am a monumental tomb for pharaohs or kings." - ], - "difficulty": "easy", - "day": 1720041041259 - }, - { - "word": "towel", - "hintDb": [ - "I am both smooth and rough.", - "My absence can ruin your morning or evening.", - "I am held in your hand or wrapped around your body.", - "I absorb water effortlessly.", - "I am found by the pool or by the bath." - ], - "difficulty": "easy", - "day": 1720127441259 - }, - { - "word": "algorithm", - "hintDb": [ - "I am used in computer science.", - "I am a set of instructions.", - "I am designed to perform a specific task.", - "I can be simple like a recipe or complex like a machine learning model.", - "I am the backbone of any non-trivial computer application." - ], - "difficulty": "hard", - "day": 1720213841259 - }, - { - "word": "keyboard", - "hintDb": [ - "I am used every day.", - "I am an essential part of a computer.", - "I have letters and numbers on me.", - "I am used for typing.", - "You press my buttons." - ], - "difficulty": "easy", - "day": 1720300241259 - }, - { - "word": "metropolis", - "hintDb": [ - "I am a place where many people live.", - "I am larger than a town or city.", - "I am often bustling with activity.", - "I am a hub for culture, business, and transportation.", - "New York, Tokyo, and London are examples of me." - ], - "difficulty": "medium", - "day": 1720386641259 - }, - { - "word": "equator", - "hintDb": [ - "I am an imaginary line.", - "I divide the earth into two equal parts.", - "I am the hottest part of the earth.", - "I am 0 degrees latitude.", - "I run horizontally around the middle of the Earth." - ], - "difficulty": "easy", - "day": 1720473041259 - }, - { - "word": "photosynthesis", - "hintDb": [ - "I involve the sun.", - "I am a process used by plants.", - "I convert light energy into chemical energy.", - "I produce oxygen.", - "I am the reason why plants are green." - ], - "difficulty": "hard", - "day": 1720559441259 - }, - { - "word": "sphinx", - "hintDb": [ - "I am a mythical creature.", - "I have the body of a lion.", - "I have the head of a human.", - "I am associated with ancient Egypt.", - "I am a famous statue near the Pyramids of Giza." - ], - "difficulty": "hard", - "day": 1720645841259 - }, - { - "word": "volcano", - "hintDb": [ - "I can be found on Earth and other planets.", - "I am a natural feature.", - "I can erupt.", - "I spew out lava and ash.", - "Mount Vesuvius and Mount St. Helens are examples of me." - ], - "difficulty": "medium", - "day": 1720732241259 - }, - { - "word": "magic", - "hintDb": [ - "I am often seen in shows.", - "I am stigmatized in some cultures.", - "I am used by many performers.", - "I involve illusions and tricks.", - "I am loved by Harry Houdini." - ], - "difficulty": "medium", - "day": 1720818641259 - }, - { - "word": "slushie", - "hintDb": [ - "I am very common in the summer.", - "I am very cold.", - "I am found at convenience stores.", - "I have a variety of flavors.", - "I am known for causing brain freezes." - ], - "difficulty": "easy", - "day": 1720905041259 - }, - { - "word": "brassiere", - "hintDb": [ - "I come in various styles, like sports.", - "I provide support to my user.", - "I contain straps and cups.", - "I am worn by women.", - "I am the full form of bra." - ], - "difficulty": "hard", - "day": 1720991441259 - } -] \ No newline at end of file + { + "word": "downgrade", + "hintDb": [ + "I can happen to products, services, or statuses.", + "I often result from poor performance or a decrease in quality.", + "I can mean lowering something to a less desirable state.", + "I am used to describe a reduction in rank, status, or importance.", + "I can be the opposite of an upgrade." + ], + "difficulty": "hard", + "day": 1721174400000 + }, + { + "word": "audience", + "hintDb": [ + "I am found in theaters, concerts, and classrooms.", + "I can be large or small, depending on the event.", + "I am essential for performers, speakers, and presenters.", + "I am the group of people who listen to or watch something.", + "I am the collective viewers or listeners of a performance or presentation." + ], + "difficulty": "medium", + "day": 1721088000000 + }, + { + "word": "verification", + "hintDb": [ + "I can be required for accessing accounts or services.", + "I ensure that something is true or accurate.", + "I often involve checking information or credentials.", + "I am a process used to confirm something's authenticity.", + "I involve confirming the validity of something through evidence or documentation." + ], + "difficulty": "hard", + "day": 1721001600000 + }, + { + "word": "basketball", + "hintDb": [ + "I originated in the United States.", + "I am orange with black stripes.", + "I am typically made of rubber or synthetic materials.", + "I am a bouncy ball used in a popular sport.", + "I am often bounced, dribbled, and passed between players." + ], + "difficulty": "medium", + "day": 1716585041259 + }, + { + "word": "alacrity", + "hintDb": [ + "I can be contagious and inspire others.", + "I can help overcome obstacles and achieve goals.", + "I am often seen as a positive trait or attribute.", + "I can be associated with enthusiasm and eagerness.", + "I am a quick and cheerful willingness to do something." + ], + "difficulty": "expert", + "day": 1716671441259 + }, + { + "word": "aesthetic", + "hintDb": [ + "I can be used to describe a variety of things, like a room, a piece of clothing, or a website.", + "I am often used in discussions about taste, style, and culture.", + "I come from a greek word meaning \"perception\" or \"sensation\".", + "I am often associated with art, design, and beauty.", + "I am a word used to describe something visually pleasing or appealing." + ], + "difficulty": "medium", + "day": 1716757841259 + }, + { + "word": "pandemic", + "hintDb": [ + "I am widespread and affect many people.", + "I cause panic and fear worldwide.", + "I can be deadly and have a high mortality rate.", + "I can be caused by a virus, bacteria, or other microorganism.", + "I am a global outbreak of a disease." + ], + "difficulty": "hard", + "day": 1716844241259 + }, + { + "word": "pizza", + "hintDb": [ + "I can be customized to individual preferences.", + "I have become a staple in many countries.", + "I come in different shapes and sizes.", + "I originated in Italy.", + "I am a popular food choice for many people." + ], + "difficulty": "easy", + "day": 1716930641259 + }, + { + "word": "hint", + "hintDb": [ + "I can be subtle or obvious.", + "I am a helpful tool for learning or discovery.", + "'He couldn't catch the ____.'", + "I am a discreet cue that can help point someone in the right direction.", + "A word game is named after me." + ], + "difficulty": "easy", + "day": 1717017041259 + }, + { + "word": "apathy", + "hintDb": [ + "I can be harmful to a person or society.", + "I can be a response to dissatisfaction or a lack of interest.", + "I am often associated with a feeling of detachment or indifference.", + "I can be overcome with effort and empathy.", + "I am the lack of emotion or interest." + ], + "difficulty": "medium", + "day": 1717103441259 + }, + { + "word": "guitar", + "hintDb": [ + "I am a popular device for professionals and hobbyists.", + "I can be electric and come in many shapes in sizes.", + "I have been used in many different styles of music.", + "I am often used to accompany singing or as a solo instrument.", + "I am a musical instrument that is played by strumming or plucking strings." + ], + "difficulty": "medium", + "day": 1717189841259 + }, + { + "word": "ocean", + "hintDb": [ + "I am a source of inspiration for artists and writers.", + "I can be dangerous and unpredictable.", + "I have different layers and depths.", + "I am essential to earth's ecosystem.", + "I cover most of the Earth's surface." + ], + "difficulty": "easy", + "day": 1717276241259 + }, + { + "word": "sloth", + "hintDb": [ + "\"You act like a ____.\"", + "I am a type of animal.", + "I live in the trees of a rainforest.", + "I spent most of my time sleeping and resting.", + "I am known for being slow and lazy." + ], + "difficulty": "easy", + "day": 1717362641259 + }, + { + "word": "marathon", + "hintDb": [ + "I am named after a famous battle in greek history.", + "I am held in many cities around the world, including Boston, New York, and London.", + "I have a rich history and cultural significance, dating back to the Olympic games in 1896.", + "I am 26.2 miles long.", + "I am a long-distance race that tests endurance." + ], + "difficulty": "medium", + "day": 1717449041259 + }, + { + "word": "parachute", + "hintDb": [ + "I was first used in the 18th century by a French inventor.", + "I can be opened manually or automatically, depending on the design.", + "I am made of fabric and cords that create drag and provide stability.", + "I am essential to the safety of skydivers, pilots, and astronauts.", + "I am used to slow the descent of a person or object." + ], + "difficulty": "easy", + "day": 1717535441259 + }, + { + "word": "telescope", + "hintDb": [ + "I am named after a Greek word meaning \"far-seeing\".", + "I am an optical instrument.", + "I can be used to observe distant objects.", + "I can be used for terrestrial and astronomical observations.", + "I am used for studying the sky and other objects in space." + ], + "difficulty": "easy", + "day": 1717621841259 + }, + { + "word": "escalator", + "hintDb": [ + "I come from the Latin word for steps.", + "I am a mechanical device.", + "I am found in many public places, including airports and malls.", + "I move people from one level to another.", + "I am a moving staircase." + ], + "difficulty": "hard", + "day": 1717708241259 + }, + { + "word": "schadenfreude", + "hintDb": [ + "I can be felt unconsciously or consciously.", + "I can be seen as a negative or immoral emotion.", + "I am a complex emotion involving empathy, envy, and pleasure.", + "My origins are traced back to German language and culture.", + "I am a German word that means \"harm-joy\"." + ], + "difficulty": "expert", + "day": 1717794641259 + }, + { + "word": "enigma", + "hintDb": [ + "Solving me requires a combination of logic and intuition.", + "I am sometimes associated with mystery and secrecy.", + "My origin can be traced back to the Greek word \"ainissesthai\", meaning \"to speak in riddles\".", + "The inner workings of my mind are an _________.", + "I am something mysterious, puzzling, or difficult to understand." + ], + "difficulty": "hard", + "day": 1717881041259 + }, + { + "word": "paradox", + "hintDb": [ + "I am often used to illustrate a deeper truth or idea.", + "My name comes from a Greek word meaning \"contrary to expectation\".", + "I can be found in literature, science, philosophy, and mathematics.", + "We are stuck in a _________.", + "I am a statement that seems contradictory but may be true." + ], + "difficulty": "hard", + "day": 1717967441259 + }, + { + "word": "satire", + "hintDb": [ + "I am often used for bringing attention to societal problems or issues.", + "I can be used to make social or political commentary.", + "I am a type of writing of speech.", + "I use humor, irony, or exaggeration to criticize people or institutions.", + "Example: A Modest Proposal by Jonathan Swift." + ], + "difficulty": "medium", + "day": 1718053841259 + }, + { + "word": "hypothesis", + "hintDb": [ + "I can be proven or disproven.", + "I am often written as an if-then statement.", + "I am an important part of the scientific method.", + "I am often tested through experimentation.", + "I am a tentative explanation for an observation or phenomenon." + ], + "difficulty": "medium", + "day": 1718140241259 + }, + { + "word": "dystopia", + "hintDb": [ + "I am often portrayed in literature and film.", + "I am often characterized by a lack of freedom and a high level of control.", + "I am a type of society.", + "I am often associated with a totalitarian government.", + "I am a society characterized by human misery, oppression, and poverty." + ], + "difficulty": "medium", + "day": 1718226641259 + }, + { + "word": "ethos", + "hintDb": [ + "I can be used in various forms of communication, including speeches, advertisements, and essays.", + "I am often associated with ethical or moral values.", + "I am a Greek word that means \"character\".", + "I am a rhetorical appeal that focues on the character of the speaker or writer.", + "I am one of the three modes of persuasion in Aristotle's Rhetoric." + ], + "difficulty": "hard", + "day": 1718313041259 + }, + { + "word": "mellifluous", + "hintDb": [ + "My roots come from the Latin words mel, meaning \"honey,\" and fluere, meaning \"to flow.\"", + "My antonyms are harsh, grating, and unpleasant.", + "My synonyms are harmonious, melodious, and tuneful.", + "I am often used to describe sounds, especially voices or music.", + "I am an adjective meaning pleasant or musical to the ear." + ], + "difficulty": "expert", + "day": 1718399441259 + }, + { + "word": "dolphin", + "hintDb": [ + "I am known for my intelligence and ability to learn.", + "I am friendly and playful and known to interact with humans in the wild.", + "Many people believe I am a fish, but I am actually a mammal.", + "I use clicks, whistles, and body language to communicate.", + "I am a cetacean found in oceans around the world." + ], + "difficulty": "easy", + "day": 1718485841259 + }, + { + "word": "quartz", + "hintDb": [ + "I can be transparent, translucent, or opaque.", + "I am composed of silicon and oxygen atoms.", + "I can be used in jewelry, clocks, watches, and electronics.", + "I am a common mineral found in many rocks.", + "I have a hexagonal crystal structure and a hardness of 7 on the Mohs scale." + ], + "difficulty": "hard", + "day": 1718572241259 + }, + { + "word": "jazz", + "hintDb": [ + "I originated in the late 19th and early 20th centuries.", + "I have many subgenres, such as bebop, cool, fusion, and smooth.", + "I am characterized by complex rhythms, syncopation, swing, and improvisation.", + "I have influenced many other forms of music, such as rock, pop, and hip hop.", + "I have produced many famous musicians, such as Louis Armstrong, Duke Ellington, Miles Davis, and John Coltrane." + ], + "difficulty": "medium", + "day": 1718658641259 + }, + { + "word": "cryptocurrency", + "hintDb": [ + "I operate independently of a central authority or intermediary.", + "I use cryptography to secure and verify transactions and to control the creation of new units.", + "I can be exchanged for goods, services, or other currencies on online platforms.", + "I am a digital or virtual form of money.", + "I have many examples, such as Bitcoin, Ethereum, and Dogecoin." + ], + "difficulty": "hard", + "day": 1718745041259 + }, + { + "word": "yoga", + "hintDb": [ + "I am often associated with a word that means \"union\" or \"connection\".", + "I can promote health, wellness, and relaxation.", + "I am a physical, mental, and spiritual practice that originated in India.", + "I involve various postures, breathing techniques, and meditation.", + "I have many types, such as hatha, vinyasa, bikram, and ashtanga." + ], + "difficulty": "easy", + "day": 1718831441259 + }, + { + "word": "origami", + "hintDb": [ + "I am an ancient Japanese art form.", + "I am a traditional craft that fosters patience and creativity.", + "I require precision and attention to detail.", + "I create sculptures without cutting or gluing.", + "I involve folding paper into intricate designs." + ], + "difficulty": "medium", + "day": 1718917841259 + }, + { + "word": "zebra", + "hintDb": [ + "I can be found in Africa.", + "I can be a prey for lions, hyenas, or crocodiles.", + "I can be related to horses and donkeys.", + "I can have black and white stripes.", + "I am a type of animal that belongs to the genus Equus." + ], + "difficulty": "easy", + "day": 1719004241259 + }, + { + "word": "onomatopoeia", + "hintDb": [ + "I can be used to create vivid and expressive language.", + "I can be found in poetry, comics, or literature.", + "I can imitate or suggest a sound.", + "I can be words like bang, splash, or meow.", + "I am a word that sounds like what it means." + ], + "difficulty": "expert", + "day": 1719090641259 + }, + { + "word": "chameleon", + "hintDb": [ + "I am capable of blending into my surroundings.", + "I am known for changing colors.", + "I use my unique features for survival in diverse environments.", + "I have independently moving eyes.", + "I am a reptile with a prehensile tail." + ], + "difficulty": "medium", + "day": 1719177041259 + }, + { + "word": "sushi", + "hintDb": [ + "I originated in Japan.", + "I can be eaten with chopsticks, fingers, or utensils.", + "I can have different ingredients, such as fish, rice, seaweed, or vegetables.", + "I can be served with soy sauce, wasabi, and ginger.", + "I am a type of food that is often wrapped in nori." + ], + "difficulty": "easy", + "day": 1719263441259 + }, + { + "word": "gravity", + "hintDb": [ + "I can be affected by mass and distance.", + "I can be described by a famous equation", + "I am a force that attracts two objects with mass.", + "I can be be different on different planets or celestial bodies.", + "I keep you from floating away from the earth." + ], + "difficulty": "hard", + "day": 1719349841259 + }, + { + "word": "origami", + "hintDb": [ + "I am a traditional craft that fosters patience and creativity.", + "I require precision and attention to detail.", + "I am an ancient Japanese art form.", + "I create sculptures without cutting or gluing.", + "I involve folding paper into intricate designs." + ], + "difficulty": "medium", + "day": 1719436241259 + }, + { + "word": "moon", + "hintDb": [ + "I have many phases.", + "I am a satellite.", + "I am visible at night.", + "I control the ocean tides.", + "I am the only celestial body humans have visited." + ], + "difficulty": "easy", + "day": 1719522641259 + }, + { + "word": "constellation", + "hintDb": [ + "I have been named after mythological figures and animals.", + "I am used for navigation and storytelling.", + "My patterns are often recognized in the night sky.", + "I am a group of stars forming a pattern.", + "I am a celestial arrangement visible from Earth." + ], + "difficulty": "medium", + "day": 1719609041259 + }, + { + "word": "resilience", + "hintDb": [ + "I am an important concept in psychology, ecology, and engineering.", + "I am considered a positive trait in individuals, organizations, and systems.", + "I can be symbolized as a tree able to withstand storms.", + "My name is derived from the Latin word \"resilio,\" meaning \"to spring back.\"", + "I am the ability to recover and adapt in the face of challenges or adversity." + ], + "difficulty": "hard", + "day": 1719695441259 + }, + { + "word": "ephemeral", + "hintDb": [ + "I am often used to describe something short-lived or fleeting.", + "I can be associated with the transient nature of life.", + "My name is derived from a Greek word meaning \"lasting only a day.\"", + "I am used to express the brevity of certain experiences or phenomena.", + "A beautiful sunset is an example of something that can be described as ____." + ], + "difficulty": "expert", + "day": 1719781841259 + }, + { + "word": "quarantine", + "hintDb": [ + "I can be imposed by authorities or self-imposed.", + "I can last for a specific period of time, usually 14 days.", + "I can involve isolation, social distancing, and testing.", + "I can be a measure to prevent or limit the spread of something.", + "I separate and restrict the movement of people who may have been exposed to a contagious illness." + ], + "difficulty": "medium", + "day": 1719868241259 + }, + { + "word": "chocolate", + "hintDb": [ + "I am usually brown in color.", + "I am a type of food.", + "I am a sweet and delicious treat.", + "I come from the seeds of a tropical tree.", + "I can be used to make cakes, cookies, and candies." + ], + "difficulty": "easy", + "day": 1719954641259 + }, + { + "word": "pyramid", + "hintDb": [ + "I come from an ancient civilization.", + "I have a triangular shape.", + "I can be found in Egypt, Mexico, and Tennessee.", + "I am a type of structure.", + "I am a monumental tomb for pharaohs or kings." + ], + "difficulty": "easy", + "day": 1720041041259 + }, + { + "word": "towel", + "hintDb": [ + "I am both smooth and rough.", + "My absence can ruin your morning or evening.", + "I am held in your hand or wrapped around your body.", + "I absorb water effortlessly.", + "I am found by the pool or by the bath." + ], + "difficulty": "easy", + "day": 1720127441259 + }, + { + "word": "algorithm", + "hintDb": [ + "I am used in computer science.", + "I am a set of instructions.", + "I am designed to perform a specific task.", + "I can be simple like a recipe or complex like a machine learning model.", + "I am the backbone of any non-trivial computer application." + ], + "difficulty": "hard", + "day": 1720213841259 + }, + { + "word": "keyboard", + "hintDb": [ + "I am used every day.", + "I am an essential part of a computer.", + "I have letters and numbers on me.", + "I am used for typing.", + "You press my buttons." + ], + "difficulty": "easy", + "day": 1720300241259 + }, + { + "word": "metropolis", + "hintDb": [ + "I am a place where many people live.", + "I am larger than a town or city.", + "I am often bustling with activity.", + "I am a hub for culture, business, and transportation.", + "New York, Tokyo, and London are examples of me." + ], + "difficulty": "medium", + "day": 1720386641259 + }, + { + "word": "equator", + "hintDb": [ + "I am an imaginary line.", + "I divide the earth into two equal parts.", + "I am the hottest part of the earth.", + "I am 0 degrees latitude.", + "I run horizontally around the middle of the Earth." + ], + "difficulty": "easy", + "day": 1720473041259 + }, + { + "word": "photosynthesis", + "hintDb": [ + "I involve the sun.", + "I am a process used by plants.", + "I convert light energy into chemical energy.", + "I produce oxygen.", + "I am the reason why plants are green." + ], + "difficulty": "hard", + "day": 1720559441259 + }, + { + "word": "sphinx", + "hintDb": [ + "I am a mythical creature.", + "I have the body of a lion.", + "I have the head of a human.", + "I am associated with ancient Egypt.", + "I am a famous statue near the Pyramids of Giza." + ], + "difficulty": "hard", + "day": 1720645841259 + }, + { + "word": "volcano", + "hintDb": [ + "I can be found on Earth and other planets.", + "I am a natural feature.", + "I can erupt.", + "I spew out lava and ash.", + "Mount Vesuvius and Mount St. Helens are examples of me." + ], + "difficulty": "medium", + "day": 1720732241259 + }, + { + "word": "magic", + "hintDb": [ + "I am often seen in shows.", + "I am stigmatized in some cultures.", + "I am used by many performers.", + "I involve illusions and tricks.", + "I am loved by Harry Houdini." + ], + "difficulty": "medium", + "day": 1720818641259 + }, + { + "word": "slushie", + "hintDb": [ + "I am very common in the summer.", + "I am very cold.", + "I am found at convenience stores.", + "I have a variety of flavors.", + "I am known for causing brain freezes." + ], + "difficulty": "easy", + "day": 1720905041259 + }, + { + "word": "brassiere", + "hintDb": [ + "I come in various styles, like sports.", + "I provide support to my user.", + "I contain straps and cups.", + "I am worn by women.", + "I am the full form of bra." + ], + "difficulty": "hard", + "day": 1720991441259 + } +] diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 36a358f..26526cf 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -20,4 +20,4 @@ its less annoying than passing it through a parent component export const ended = writable(false); export const won = writable(false); export const gameStats = persisted('gameStats', []); -export const theme = persisted('theme', 'light'); \ No newline at end of file +export const theme = persisted('theme', 'light'); diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index fc72cdc..db720f7 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,15 +1,14 @@ @@ -25,4 +24,4 @@ } - + diff --git a/src/routes/menu/+page.svelte b/src/routes/menu/+page.svelte index 65207ad..2db39c5 100644 --- a/src/routes/menu/+page.svelte +++ b/src/routes/menu/+page.svelte @@ -1,6 +1,6 @@