Sample Solutions

Simple BlackJack in .NET

Program screenshot
Screenshot of the simple BlackJack sample program

This is a fully-documented simple implementation of BlackJack with fixed betting and only one player. It's written in VB.NET and showcases some basic graphic functions of Windows Forms along with sounds, basic AI, and rule-based gameplay. An excellent primer on object-oriented concepts.

What You Will Learn

  • Using layered graphics in Windows Forms
  • Using sound effects in Windows Forms
  • Simple object-oriented relationships
  • Use XML comments for building code documentation
  • Using custom event-driven methods
  • Rule-based gameplay and programming logic

License

All samples are distributed under the GPL license. If you make any improvements, please let us know so we can update the source code!

An error has occured while trying to process your request. Hide