Originally posted from:
Simple BlackJack game in XNA (zipped up project files)
Quote:
Hey all, just been trying to learn GSE, and I made a VERY basic BlackJack game, which hopefully may help someone else get started. I tried to comment the code, and I know there's a LOT of room for improvement. Input on how to make some of my classes more generic (maybe even make the components) would be appreciated.
Such as:
Card class (uses tiles in a texture to build the card, so each face value and suite symbol is listed in the texture)
Deck class (actually a class to hold a deck and several hands or piles of cards)
BMPFont class (a very rough and dirty, but functional tile based rendering engine)
You can get it here: http://www.preik.net/xna/cardgame.html
|
I have tooken the time to re render the vectors and screen size and controls and ect to make this game playable on the zune. I also inserted my BSOD incase the game messes up so you can restart it in the game.
Controls:
Center = Hit
Play = Stand
Back = Restart (sometimes tends to not respond to controls but isnt frozen, so i implemented a restart button.)
Down = Music
Hold Back = Exit Game
Download:
MyCardGame.ccgame Download File
MyCardGame.rar Download File
MyCardGame.zip Download File