Basic functions for card games

Post Reply
User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Basic functions for card games

Post by Dutchman »

I have made a basic set of functions to handle playing cards.
The functions are presented as a lib which can be included in a game program.
Three different sizes of spritesheets are avaialble for display of the cards, including jokers and an image of the back.
The files are available in the folder "Cards" at https://www.dropbox.com/sh/g3d1deaewfeb ... jx3Ga?dl=0.
The content and usage is described in the file "- ReadMe.txt"
The test- and demo-program is "Cards basics.txt"
Last edited by Dutchman on Sun Sep 10, 2017 5:55 pm, edited 1 time in total.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Basic functions for card games

Post by Mr. Kibernetik »

Very nice cards images!

I tried my new automatic code capitalization feature on your code, but... it is already all capitalized! :shock:

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Basic functions for card games

Post by Dutchman »

I'm used to do that so that I can easy recognize my own functions and variables. :D

Post Reply