Trying to work on a cardgame set-up for my codebase, and need some info (I'm still a newbie at coding, and this is something I havn't dealt with before).
Thinking of something along the lines of M: TG (for those who don't kno what it is, its pretty much the best CCG there is IMHO), and was going to set-up a system similar to this:
ch has a deck of cards (deck), and when ch exam deck, they get something like this:
ect.
And use something similar to
so that in their deck it just keeps the card number listed, sorts the cards into type (creature, land, spells), and then can read from a file the card name, abilities, and so forth.
Sadly, I have no clue about seting something like this up.
I also want it to be able to keep up with the players mana pool, and be able to tell the player whether or not the creature can be cast and all that so it seems like a real game.
I'd need fields for, and a way to keep up with, R,G,B,U,W mana, life total, what is on the field, effects in play, and alot of that kind of crap for the game.
Anyone know of a site or something that I could get some help with this on?
Thinking of something along the lines of M: TG (for those who don't kno what it is, its pretty much the best CCG there is IMHO), and was going to set-up a system similar to this:
ch has a deck of cards (deck), and when ch exam deck, they get something like this:
04 - Priest of Elves | T: Add one G to mana pool | 1/1
02 - Morrow Elves | | 1/2
15 - Forest | T: Add one G to mana pool | Land
ect.
And use something similar to
(hexidecimal system number) - "Priest of Elves"
" - "Morrow Elves"
so that in their deck it just keeps the card number listed, sorts the cards into type (creature, land, spells), and then can read from a file the card name, abilities, and so forth.
Sadly, I have no clue about seting something like this up.
I also want it to be able to keep up with the players mana pool, and be able to tell the player whether or not the creature can be cast and all that so it seems like a real game.
I'd need fields for, and a way to keep up with, R,G,B,U,W mana, life total, what is on the field, effects in play, and alot of that kind of crap for the game.
Anyone know of a site or something that I could get some help with this on?