make all game sessions have 10 questions

This commit is contained in:
2025-04-14 23:14:29 -03:00
parent a298ee036b
commit 05dd591884
2 changed files with 2 additions and 7 deletions

View File

@@ -24,11 +24,6 @@ class GameService:
async def create_game(self, settings: GameSettings) -> GameSession:
"""Create a new game session with the specified settings."""
# Override settings to ensure exactly 4 questions
settings.num_songs = 4
settings.num_choices = 4
# Process playlist if specified
genres = settings.genres
start_year = settings.start_year

View File

@@ -13,8 +13,8 @@ interface WelcomeScreenProps {
}
const WelcomeScreen: React.FC<WelcomeScreenProps> = ({ onStart }) => {
// Always 4 songs per game
const NUM_SONGS = 4;
// Always 10 songs per game
const NUM_SONGS = 10;
const NUM_CHOICES = 4;
const [selectedGenres, setSelectedGenres] = useState<string[]>([]);