feat: scaffold quiz API vertical slice
- Add GameRequestSchema and derived types to packages/shared - Add SupportedLanguageCode, SupportedPos, DifficultyLevel type exports - Add getGameTerms() model to packages/db with pos/language/difficulty/limit filters - Add prepareGameQuestions() service skeleton in apps/api - Add createGame controller with Zod safeParse validation - Wire POST /api/v1/game/start route - Add scripts/gametest/test-game.ts for manual end-to-end testing
This commit is contained in:
parent
13cc709b09
commit
9fc3ba375a
11 changed files with 99 additions and 94 deletions
|
|
@ -159,7 +159,7 @@ this would be the flow to start a single player game:
|
|||
main menu => singleplayer, multiplayer, settings
|
||||
singleplayer => language selection
|
||||
"i speak english" => "i want to learn italian" (both languages are dropdowns to select the fitting language)
|
||||
language selection => category selection => pure grammar, media (as disussed, practicing on song lyrics or breaking bad subtitles)
|
||||
language selection => category selection => pure grammar, media (practicing on song lyrics or breaking bad subtitles)
|
||||
pure grammar => pos selection => nouns or verbs (in mvp)
|
||||
nouns has 3 subcategories => singular (1-on-1 translation dog => cane), plural (plural practices cane => cani for example), gender/articles (il cane or la cane for example)
|
||||
verbs has 2 subcategories => infinitv (1-on-1 translation to talk => parlare) or conjugations (user gets shown the infinitiv and a table with all personal pronouns and has to fill in the gaps with the according conjugations)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue