-
Notifications
You must be signed in to change notification settings - Fork 0
+2,267
−29
Conversation
This file contains 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
The interface will function as a content replacement option in the Strategy principle.
The view acts as the context module in the Strategy design pattern.
Fortune double value represents how "lucky" that stock will be in the next week. Setter and getter method for value. Also added compatibilty with exchange advance week method.
Bigdecimal values can have extreme amounts of decimals. Transaction cards now round by converting to float (only visually)
Added widget enum that functions similarily to ViewEnum. Also added event subscribing to ingamecontroller so any publisher can change widget.
Overall improvements across various classes. Documentation and setting up simple helper methods, as well as disabling button pressing by pressing space or enter (key used in minigame(s)).
The game engine controller now changes the fortune of a stock based on game results.
Integrated minigames with the application. It is now possible to select a stock you want to boost in dashboard page. This will take you to the minigames section and select the stock for you.
Fixed bug where player could buy upgrade even if they did not have enough score, by adding an internal reference to score in the clicker game game.
Reduced time for minigames, and increased amount of points gained to compensate.
Reworked the clicker game. Previously, the game was designed around clicking a static button and buying an upgrade for it. Now, the game works more like an aim trainer, where the button teleports after every click.
Closed
4 tasks
etsorens
approved these changes
May 24, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sign in
to join this conversation on GitHub.
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.
Added minigames.
They can be found by using the navbar in the top bar, or by clicking the "boost" button on a stock on the dashboard.
There are currently three minigames available:
Clicker game: Click a button to gain score. The button teleports after every click
Find the stock: You get a target stock symbol. Find the match in a grid of stock symbols. Wrong choices deduct points.
Timed inputs: Time SPACE or ENTER keys to get points marked by a green section of a circle. Wrong input deduct points.