Demonstrates many F# features in a fun, pure functional blackjack library.
- BlackjackLib: F# blackjack "engine"
- UnitTestProject1: C# unit tests of BlackjackLib
- WindowsFormsApplication1: Winforms (olde school windows UI framework, but very easy to work with) application. Upon running, see the key commands in the window title.
- Search for numbered highlights in the form "N)" where N = 1-13
- BlackjackDataStructures.fs: This (short) listing is a thing of beauty. You can see at a glance what each structure does.
- Game.fs: Heart of the game engine. The functions therein perhaps aren't as readable as the types, but the essence is the BlackJackGame discriminated union is the game. That type is manifested over the states listed above it.
Note: Change the hard coded path listed in BlackjackDataStructures.fs to where your Cards directory (included in project) lives.