How kaankaltakkiran/green_mind_game works
Green Mind Game is a browser-based environmental quiz. The visible workflow configures groups and question counts, runs timed multiple-choice turns, awards points, and presents scores and winners. The game logic and bundled question bank are local to the frontend. The README also describes authentication, leaderboards, and additional scoring features, but no corresponding implementation appears in the supplied tree; those are noted as documented capabilities rather than connected runtime components.
Main entry points: IndexPage.vue Quiz screen · routes.ts Page routes · useQuizGame.ts Game state and turns · index.ts Route setup
Components 14
Frontend navigation
- App shell
frontend/src/App.vue - Route setup
frontend/src/router/index.ts - Page routes
frontend/src/router/routes.ts - Main layout
frontend/src/layouts/MainLayout.vue
Quiz experience
- Quiz screen
frontend/src/pages/IndexPage.vue - Game state and turns
frontend/src/composables/useQuizGame.ts - Question bank
frontend/src/data/data.json - Quiz data types
frontend/src/types/quiz.ts - Documented account and rankings
frontend/src
Frontend support
- Internationalization boot
frontend/src/boot/i18n.ts - English messages
frontend/src/i18n/en-US/index.ts - Example component
frontend/src/components/ExampleComponent.vue - Example data models
frontend/src/components/models.ts
Other components
- Player
Connections 11
- App shell → Route setup: renders routes
- Route setup → Page routes: loads routes
frontend/src/router/index.ts - Page routes → Main layout: uses layout
frontend/src/router/routes.ts - Page routes → Quiz screen: routes to
frontend/src/router/routes.ts - Player → Quiz screen: uses
- Quiz screen → Game state and turns: calls game logic
frontend/src/pages/IndexPage.vue - Game state and turns → Question bank: reads questions
frontend/src/composables/useQuizGame.ts - Game state and turns → Quiz data types: uses types
frontend/src/composables/useQuizGame.ts - Quiz screen → Documented account and rankings: documents features
README.md - Internationalization boot → English messages: loads messages
- Example component → Example data models: uses types
frontend/src/components/ExampleComponent.vue