Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Cool! Thanks for sharing. It's like a recursive search for the loses. What's `get_all_action()` doing, does it just get the actions for the losers? Or is that waiting for input from the player to choose their actions?

It's returning an array of action cards the players have played, but I suppose I could've totally just done chosen_actions.values() now that I'm looking it over, it's totally due for a bit of a refactor I just never stopped to think about it lol

Oh wait! It's doing more than that, it returns all actions in the players hands. This was meant for an action effect that I never actually added. In theory a card could do something extra if a tie triggers while it's in your hand. I do have cards that have a bonus when playing during ties but that's a different mechanism. I think I was planning on the growth ability to be a tie only thing but that made it way too slow, and tbh even per turn felt too slow which is why unlockable characters growth cards grow way faster.