Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Neat! Seems like it doesn’t take suits into consideration, so there would be four cards with the value 0, right?

You are right. I'm working on War now and probably Go Fish next, neither of which need suits. I figure I'll think of something when I need it. My intuition is filling 'd' with 1 through 52 then in the game logic you would mod 13 for the value and integer divide (\) by four for the suit.