CardGame Class Library w/ BlackJack Demo.

wyrd

Well-known member
Joined
Aug 23, 2002
Messages
1,408
Location
California
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 isnt 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 didnt 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 Ive only been actually doing OOP for 3 months now. Im 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. :eek:

In the zipped file youll 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 Id say combined with the class library and demo game its 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!
 
Last edited by a moderator:
Finished CardGames Class Library w/ BlackJack demo.

I cant edit/reply to my post that got transferred over to the Code Library forum, so if one of the mods could move this as a reply to my old thread it would be appreciated. :)

-Finished CardGames Class Library by fixing a few minor bugs and documenting everything.

-Forgot to turn on Option Strict :eek: for the BlackJack demo and ended up doing a lot of unboxing by accident, this has been fixed and Option Strict is on.

-Fixed a few minor bugs in the BlackJack demo.

-Added Insurance to the BlackJack demo.

Aside from a few bugs that I may have missed, the Class Library and BlackJack demo should now be finished.
 

Attachments

Last edited by a moderator:
Woah! The looks really cool! Very good work, wyrd. :)
 
Back
Top