Conversation
Add complete backend implementation for the Potion Brewing Lab mini-game: - Model: PotionRecipe, PotionIngredient, RecipeIngredient, BrewAttempt - DTOs: request/response records following existing BroomGame pattern - Service: IPotionBrewingService with recipe listing, ingredient listing, brew attempts with success formula based on wisdom/difficulty, and history - Controller: PotionBrewingController with auth/anon endpoints - DbContext: new DbSets and entity configurations with proper FKs - Program.cs: DI registration for the new service - SeedData: 6 ingredients and 4 recipes with varying difficulty - Player model: added BrewAttempts navigation property Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: jwraats <3438726+jwraats@users.noreply.github.com>
- Add QuizQuestion and QuizAttempt models with enums for difficulty/category - Add Quiz DTOs (QuizQuestionResponse, SubmitQuizRequest, QuizResultResponse, etc.) - Add IQuizService/QuizService with question retrieval, answer validation, scoring, and leaderboard - Add QuizController with GET questions, POST submit, GET history, GET leaderboard endpoints - Update AppDbContext with QuizQuestion/QuizAttempt DbSets and entity configurations - Update Player model with QuizAttempts navigation property - Register IQuizService in Program.cs DI container - Seed 12 quiz questions (3 per category: SpellLore, MagicalCreatures, PotionIngredients, WizardHistory) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: jwraats <3438726+jwraats@users.noreply.github.com>
Add roguelike dungeon exploration mini-game with: - DungeonRun model with floor/HP/gold/XP tracking and permadeath - Procedural room generation (Monster/Treasure/Trap/Merchant/Rest/Boss) - Player stat-based choice resolution (strength, magic, wisdom, speed) - Risk/reward mechanics with escape-with-loot or push-deeper gameplay - RESTful API endpoints for start/action/escape/history - Full EF Core integration with Player navigation property Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: jwraats <3438726+jwraats@users.noreply.github.com>
Add creature taming system with explore, tame, and care mechanics: - Creature and PlayerCreature models with mood/loyalty system - CreatureTamingService with explore (50g cost, rarity-weighted drops), tame, care (feed/train/rest with cooldowns), and bonus calculation - CreatureTamingController with 6 endpoints matching existing patterns - 8 seed creatures (2 each: common, uncommon, rare, legendary) - Creatures with loyalty >50 provide passive stat bonuses scaled by level - Uses Random.Shared for thread-safe random number generation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: jwraats <3438726+jwraats@users.noreply.github.com>
Add interactive fiction / choose-your-own-adventure mini-game with: - StoryChapter, StoryChoice, PlayerStoryProgress models - WhisperingWallsService with story arc management, choice processing, item/stat requirement checks, and gold/xp rewards - WhisperingWallsController with REST endpoints - DTOs for all request/response types - EF Core configuration with proper relationships - Seed data for 'The Forbidden Corridor' story arc (7 chapters, 5 endings) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: jwraats <3438726+jwraats@users.noreply.github.com>
…eature Taming, Whispering Walls, Wizard Chess - backend complete Agent-Logs-Url: https://github.com/jwraats/Wizard-RPG/sessions/303adc6f-769d-408c-aa1d-ea28fea4f9f5 Co-authored-by: jwraats <3438726+jwraats@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement game ideas from documentation in backend and frontend
Implement 6 new mini-game backends: Potion Brewing, Quiz, Dungeon Crawler, Creature Taming, Whispering Walls, Wizard Chess
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the backend for all 6 unbuilt mini-games from
docs/GAME_IDEAS.md. Spell Duel Arena and Broom Racing were already implemented; this adds the remaining games following identical patterns (Model → DTO → Service → Controller → Seed Data).New Games
Math.Min(90, 50 + wisdom - difficulty * 8)). 6 ingredients, 4 recipes seeded.runId + floor), stat-based combat, permadeath per run. No DB-stored rooms.Per-game structure (consistent across all 6)
Shared file changes
Player.cs— Added nav properties:BrewAttempts,QuizAttempts,DungeonRuns,PlayerCreatures,StoryProgressAppDbContext.cs— 12 new DbSets with FK relationships, cascade/restrict delete configProgram.cs— 6 new scoped service registrationsSeedData.cs— Conditional seeding for ingredients, recipes, quiz questions, creatures, story chaptersNot included
Frontend (views, stores, API modules, routes) is not yet implemented. This PR covers backend only.