A geography quiz game built with Nuxt and Vue where you guess countries from their flags. Country data is fetched from Wikidata.
The game is available to play at: https://filbertkm.github.io/flagquest/
Install dependencies:
npm install
Start the development server on http://localhost:3000
:
npm run dev
The game uses cached country data from Wikidata. To update the country list:
npm run fetch-countries
npm run dev
- Start development servernpm run build
- Build for productionnpm run generate
- Generate static sitenpm run preview
- Preview production buildnpm run lint
- Run ESLintnpm run fix
- Auto-fix ESLint issuesnpm run fetch-countries
- Update country data from Wikidata
This project is configured to automatically deploy to GitHub Pages.
- Go to your repository settings on GitHub
- Navigate to Settings → Pages
- Under Build and deployment, select:
- Source: GitHub Actions
Once configured, the site will automatically deploy when you push to the main
branch. The GitHub Actions workflow will:
- Install dependencies
- Generate the static site
- Deploy to GitHub Pages
You can also trigger a deployment manually:
- Go to the Actions tab in your repository
- Select the Deploy to GitHub Pages workflow
- Click Run workflow