Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Help with files/pointers/hex system for a game set-up
|
Help with files/pointers/hex system for a game set-up
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Dralnu
USA (277 posts) Bio
|
| Date
| Sat 27 Aug 2005 06:07 PM (UTC) |
| Message
| 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:
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? | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Sat 27 Aug 2005 06:21 PM (UTC) |
| Message
| | Isn't there a code contest going on at MudMagic for a card system? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Dralnu
USA (277 posts) Bio
|
| Date
| Reply #2 on Sat 27 Aug 2005 06:26 PM (UTC) |
| Message
| | I think there is, but I don't know if it is anything like this. I htink its for more like poker/blackjack, instead of something along the lines of a CCG. They get a snippet done for that will make this a bit easier, but I still owuld like some info on this kind of thing since I don't know much about it. Basics is what I'm looking for to do this kind of thing, and some help getting started | | Top |
|
| Posted by
| Dralnu
USA (277 posts) Bio
|
| Date
| Reply #3 on Sat 27 Aug 2005 06:27 PM (UTC) |
| Message
| Build a series of functions or classes that will allow users to reuse the code to create different card games in a text game codebase. Your code will be used as a library routine. It will contain a deck of cards, dealing routines, and player hand support.
Deadline: 2005-10-27
Thats what is on MUDMagic, and this wouldn't cover all of what I need. | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
17,083 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top