CruceGameDevel / CruceGame

Open source card game
GNU General Public License v2.0
19 stars 19 forks source link

Print card #227

Closed aenachescu closed 10 years ago

aenachescu commented 10 years ago

Modified the function printCard from cli.c. Now the card has the red framework if this card can't be put down, yellow framework if this card is selected and white framework if this card not is selected but he can be put down. Modified the declaration of functionCard. Removed the parameter 'position' because now this parameter is useless and added the parameter 'allow' which indicate if this card can be put down or no. Added the documentation for this parameter. Added in the module main.c a new color more precisely the white color which is used in printCard().