Version 0.9.9.9
Wow, what a week of updates (and in the middle of a 50-hour work week)!
First, the visual layer hasn't changed much since last week, it still remains the same with some upgrades to an ante system to show what each player has bet. This next one seems small but was significant when I say, the text on the screen has also been updated.
The way the screen-text worked before was that each function updated it of it's own accord so there was just so many random functions that were difficult to tell who was controlling what at which given time. So I decided to place them all within their own function and now I think I could add an array to the function and give the game some long-term memory of the series of events was that led to the current game. But it's exciting because it's simplified the upgrading the code process significantly.
I did a major refactor that I was worried almost resulted in the code permanently breaking. Pulled out of it and actually found a bug that existed in the code from the beginning that essentially treated 10s, J, Q, K all as 10's instead of their actual card picture. This was causing some additional issues where it seemed like the deck was playing out the same cards to everyone but it was just that the deck thought it had the right cards in place while it didn't. This is also an issue I never noticed before because it was hidden behind so many layers of other issues it was tough to know that this was hidden behind everything.
But this is also exciting news for me because it means that now the major refactor is complete and it's ready to go to the next phase of adding in animations! We have an animator that has been working on it. There already exists all the rules and alterations to the rules to the game so I hope to be able to add in Custom Modes next week by giving the player a Custom Game options menu.
It's exciting to me because I was able to improve the functionality and the versatility of the game while keeping the code bloat to a minimum to ensure that the game remains viable on mobile devices (eventually!).
Hopefully next weekend update will be more visually pleasing to the player but I hope you enjoy the current version that has had re-writes after re-writes thrown at it to ensure that it was a succent and efficient as possible! :)
Files
Lucky 21
Based on the game known as: Chinese Blackjack, 21-point, and xì dách.
Status | In development |
Author | Rick Vegas |
Genre | Card Game |
Tags | 21, 21-point, blackjack, chinese-blackjack, eastern-blackjack, xi-dach |
More posts
- Version 0.9.955 days ago
- Version 0.9.8 (so close to basic!)64 days ago
Leave a comment
Log in with itch.io to leave a comment.