promoted 1 year 5 months ago, posted 1 year 5 months ago
| 179 views
I need help with a Uni project
I've been tasked with making a Snap card gaming using Visual Studio and XNA 4.0 and I'm just absolutely stuck on Array's. We covered them in Java using BlueJ ("Introduction to Java using BlueJ" by Barnes and Kolling, is the course material for that work).
I have currently a working menu system using a very inelegant state based system, but it works. I have everything else in place.
What I need to do is:
Build an Array to hold the 52 cards
Build a class for the cards to hold the information and methods based around the cards. This would include methods like getting the next card in a players hand ready to be displayed, shuffling the deck and then dealing the cards out to the two players.
Build an Array for each players hand so that when shuffled the cards are placed in the players hand.
That's about it, from there I think I could finish off the rest of the game using what I've written. What I need is help and guidance on how you guys might go about achieving this.