This project is a web-based geography guessing game. The user is shown a fixed location in a 3D map view and has to guess where it is on a 2D map.
- Country Selection: Players can choose a country to play in. The game will then present locations within the selected country.
- Leaderboard: The game includes an online leaderboard per country.
- i18n Support: The game is translated into English, French, and German.
-
Clone the repository.
-
Install the dependencies:
npm install
To run the application locally with a development server and hot-reloading, use the following command:
npm startThis will start the Vite development server, and you can access the application at http://localhost:5173.
To build the application for production, which creates an optimized and minified version of the code, run:
npm run buildThe output will be placed in the dist directory.
ArgoCD
Pipeline:
- On push to the
masterbranch, GitHub Actions automatically builds and publishes a Docker image toghcr.io/camptocamp/geo-challenge:latest. camptocamp/argocd-gs-plg-apps:update-geo-challenge-image.yamlis triggered to update the image in the argocd configuration.