Recreation of the Undercover rounds game — single-page Blazor WebAssembly client.
Quick start (PowerShell):
cd c:\git\undercover-game\undercover-client
dotnet build
dotnet run --urls "https://localhost:5001;http://localhost:5000"Open https://localhost:5001 or http://localhost:5000 in your browser. For static previews, serve undercover-client/bin/Debug/net8.0/wwwroot with any static file server.
See .github/copilot-instructions.md for a longer developer orientation and troubleshooting.
Deployment
- This repository includes a GitHub Actions workflow at
.github/workflows/deploy-gh-pages.ymlwhich builds the Blazor WebAssembly app and publishes thewwwrootoutput to thegh-pagesbranch on every push tomain.- The site will be served by GitHub Pages from the
gh-pagesbranch (configure repository Pages settings if needed). - The workflow requires the built-in
GITHUB_TOKENto have write permissions tocontentsandpagesso it can push the built site togh-pagesand update Pages. If you see a 403 during the deploy step, ensure repository Actions permissions allow workflows to write and that thegh-pagesbranch is not protected against pushes from GitHub Actions.
- The site will be served by GitHub Pages from the