|
-
Dec 1st, 2002, 02:14 PM
#1
Thread Starter
Member
CardGame Class Library w/ BlackJack Demo.
Okay so what is this? First and foremost the project is a card games class library that (hopefully) will allow people to quickly add their own card game classes to it (such as poker, blackjack, etc) by simply inheriting the GameBase class and adding extra methods for the rules of the card game.
Now whether or not I succeeded at this isn't really the point I suppose, although that was the general goal in mind if someone had the desire to write their own card game and didn't want to start from scratch. The main reason why I even started on this was to get used to VB.NET and play with OOP as I've only been actually doing OOP for 3 months now. I'm also fairly new to "real" programming as I started with VB6 about a year ago and have been learning Java and VB.NET recently. This will more then likely show as you go through the code.
In the zipped file you'll find the following things;
-The main folder which holds the CardGames class Library.
-A BlackJack class built off the class library (also in the main folder).
-A sub folder of the main folder titled BlackJack, which is a demo BlackJack game (as simplistic looking as it may be) built using the class library.
Notes:
-The class library is far from fully commented.
-The demo BlackJack is not fully commented and I have not implimented Insurance yet.
All in all I'd say combined with the class library and demo game it's about 90% finished.
I can take harsh criticism with the best of them, so please feel free to comment in the worst ways. Also if you notice any bugs please let me know, thanks!
Download it @ http://www.danpeverill.com/CardGames.zip
-
Dec 3rd, 2002, 03:57 PM
#2
Thread Starter
Member
If anyone cares.. I finished the Class Library by fixing some bugs and documenting everything. Also added Insurance to the BlackJack demo and fixed a few bugs. The link above was updated if you feel like downloading it.
-
Dec 3rd, 2002, 05:37 PM
#3
Thats pretty darn cool wyrd!
The blackjack works like real Vegas, I can tell because I lose on your game just like the real thing.
-
Dec 3rd, 2002, 06:42 PM
#4
Sleep mode
outstanding!!
One of the best examples to get accustomed to OOP.That shows how VB.NET loves (Inheritance).I'm just wondering if you can use Polymorphism in such examples , maybe this shorten your code.
-
Dec 3rd, 2002, 06:57 PM
#5
Thread Starter
Member
Originally posted by pirate
I'm just wondering if you can use Polymorphism in such examples , maybe this shorten your code.
I'm learning VB.NET just like everyone else, so I'm more then happy to take any coding suggestions if anyone has some.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|