import 'package:practice_engine/practice_engine.dart'; /// Default deck with 20 general knowledge questions for practice. class DefaultDeck { static Deck get deck { const config = DeckConfig( requiredConsecutiveCorrect: 3, defaultAttemptSize: 10, priorityIncreaseOnIncorrect: 5, priorityDecreaseOnCorrect: 2, immediateFeedbackEnabled: true, ); final questions = [ Question( id: 'gk_1', prompt: 'What is the capital city of Australia?', answers: ['Sydney', 'Melbourne', 'Canberra', 'Perth'], correctAnswerIndices: [2], ), Question( id: 'gk_2', prompt: 'Which planet is known as the Red Planet?', answers: ['Venus', 'Mars', 'Jupiter', 'Saturn'], correctAnswerIndices: [1], ), Question( id: 'gk_3', prompt: 'What is the largest ocean on Earth?', answers: ['Atlantic Ocean', 'Indian Ocean', 'Arctic Ocean', 'Pacific Ocean'], correctAnswerIndices: [3], ), Question( id: 'gk_4', prompt: 'Who wrote the novel "1984"?', answers: ['George Orwell', 'Aldous Huxley', 'Ray Bradbury', 'J.D. Salinger'], correctAnswerIndices: [0], ), Question( id: 'gk_5', prompt: 'What is the chemical symbol for gold?', answers: ['Go', 'Gd', 'Au', 'Ag'], correctAnswerIndices: [2], ), Question( id: 'gk_6', prompt: 'In which year did World War II end?', answers: ['1943', '1944', '1945', '1946'], correctAnswerIndices: [2], ), Question( id: 'gk_7', prompt: 'What is the smallest prime number?', answers: ['0', '1', '2', '3'], correctAnswerIndices: [2], ), Question( id: 'gk_8', prompt: 'Which gas makes up approximately 78% of Earth\'s atmosphere?', answers: ['Oxygen', 'Carbon Dioxide', 'Nitrogen', 'Argon'], correctAnswerIndices: [2], ), Question( id: 'gk_9', prompt: 'What is the longest river in the world?', answers: ['Amazon River', 'Nile River', 'Yangtze River', 'Mississippi River'], correctAnswerIndices: [1], ), Question( id: 'gk_10', prompt: 'Who painted the Mona Lisa?', answers: ['Vincent van Gogh', 'Pablo Picasso', 'Leonardo da Vinci', 'Michelangelo'], correctAnswerIndices: [2], ), Question( id: 'gk_11', prompt: 'What is the speed of light in a vacuum (approximately)?', answers: ['300,000 km/s', '150,000 km/s', '450,000 km/s', '600,000 km/s'], correctAnswerIndices: [0], ), Question( id: 'gk_12', prompt: 'Which country is home to the kangaroo?', answers: ['New Zealand', 'Australia', 'South Africa', 'Brazil'], correctAnswerIndices: [1], ), Question( id: 'gk_13', prompt: 'What is the hardest natural substance on Earth?', answers: ['Gold', 'Diamond', 'Platinum', 'Titanium'], correctAnswerIndices: [1], ), Question( id: 'gk_14', prompt: 'How many continents are there on Earth?', answers: ['5', '6', '7', '8'], correctAnswerIndices: [2], ), Question( id: 'gk_15', prompt: 'What is the largest mammal in the world?', answers: ['African Elephant', 'Blue Whale', 'Giraffe', 'Polar Bear'], correctAnswerIndices: [1], ), Question( id: 'gk_16', prompt: 'In which city is the Eiffel Tower located?', answers: ['London', 'Berlin', 'Paris', 'Rome'], correctAnswerIndices: [2], ), Question( id: 'gk_17', prompt: 'What is the square root of 64?', answers: ['6', '7', '8', '9'], correctAnswerIndices: [2], ), Question( id: 'gk_18', prompt: 'Which element has the atomic number 1?', answers: ['Helium', 'Hydrogen', 'Lithium', 'Carbon'], correctAnswerIndices: [1], ), Question( id: 'gk_19', prompt: 'What is the largest desert in the world?', answers: ['Gobi Desert', 'Sahara Desert', 'Antarctic Desert', 'Arabian Desert'], correctAnswerIndices: [2], ), Question( id: 'gk_20', prompt: 'Who invented the telephone?', answers: ['Thomas Edison', 'Alexander Graham Bell', 'Nikola Tesla', 'Guglielmo Marconi'], correctAnswerIndices: [1], ), ]; return Deck( id: 'default-general-knowledge', title: 'General Knowledge Quiz', description: 'A collection of 20 general knowledge questions covering science, geography, history, and more. Perfect for testing your knowledge!', questions: questions, config: config, ); } }