A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
every week,
unless exhausted!
About Games Music Pixelart Poetry Home Patreon Scores JNKPlat Petit Switch
Continued Hands
  6th April, 2019
Today's hopefully going to be the last little bits of the reusable "Hand of Cards" code.


I'm fairly sure it's functional enough to be reused in different places, but I'm slightly worried it might yet break if you end up with too many cards in your hand!

I've accounted for 100 cards, and honestly can't imagine a scenario when you have more than that, but.. Rare instances will always crop up!
For now I'm going to stop worrying about that, and focus instead on getting the current game (Jack Change It) working.

I've also made a special function that lifts the "Place" deck, leaves the top-most card, shuffles it, and puts it back in the "Draw" deck's place, when the Draw deck runs out of cards.

To be honest, there's not a lot of the actual game working, though.
You can slap a card on the Place deck, but it doesn't account for any rules, nor do the cards have special functions, yet.
Then there's the AI to contend with, too, and trying to get the ALs to play at a decent difficulty level.

Plenty to do!
Game should hopefully be ready to go later tonight. I think.. Maybe!

Views 34, Upvotes 1
Daily Blog , Shoebox
Site credits : PHP script, Site design, Blog posts, Games, Music, Pixelart, Poems and More : Jayenkai
(c) Jayenkai 2017 and onwards. RSS feed
Blog - Continued Hands - AGameAWeek