Title: Difficulty increase was difficult
Author: Jacob Bragg Posted on: July 23, 2026
Part 1 - The Problem:
My major assignment for the week was adding any missing A features we needed. While we had most of them, the one we needed more than any other was the ai getting more difficult once winning. While that seemed like a simple fix, I had to think how i would do that for a chance based game. Not to mention I had to figure out how to add it to the game mode without breaking anything that we already had in there. While this took a few days of researching and small tests, I was able to figure out a solution that should work.
Part 2 - The Solution:
Because our game is based on chance, the only variables I can change would be the cards you get. With that as my idea, I added code into the game mode that recognizes if you win a game. If you do, the next game will have the ai start with on average a better value deck. This number can be adjusted in the details panel for the game mode, so we can decide on how hard/impossible we want to make the following game feels if you win.