An ASP.NET 2.0 BlackJack Game

Posted by: Scott on Writing, on 22 Dec 2006 | View original | Bookmarked: 0 time(s)

Every now and then I like to give myself a fun little programming challenge. I'll randomly pick some enjoyable task, like programming a game or blogging engine or what not, and impose a time limit, anywhere from an hour to an afternoon. Such little challenges keep the fun in programming and help me mentally recharge. After spending a week of programming boring data entry forms, such toy projects help remind me why I enjoy computer science and programming!

Anyway, a few months ago I decided to see if I couldn't create a simple online Blackjack game that would allow a single person to come to the site, enter their name and starting bank role, and play Blackjack against a dealer. If you're interested in checking out this little toy application, the result of an afternoon of enjoyable coding, you can download the complete source code from here. There's also a light 4Guys article that provides some light details on the code, Creating a Quick and Dirty Online Blackjack Game.

If you decide to download and poke through this application, please do bear in mind that it was purposefully rushed, as I was racing against the clock to complete the project. Consequently, the code may be rather tattered in places, there are likely many spots where it should be refactored, and there are next to no comments. Let's just say that it's not a showcase of 'best practices', unless you're MacGyver and need to program a blackjack game in under four hours or a nuclear missle is going to explode.

See the BlackjackWikipedia entry for rules and basic strategy.

Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1714 | Hits: 155

Similar Posts

  • Summer School is in... Seven sessions toward crafting cool games with GameMaker: Studio more
  • Games4Learning Kinect Games v4 released... (Word, Math Mages get AR, new NoNeed4Green and more) more
  • Kinect Games V3, with a new game, Word Mage! more
  • Improving JavaScript Skills more
  • Silverlight Featured in Sunday Night Football Extra more
  • Five gems of XBLA more
  • ALT.NET Seattle Day 3 more
  • Wii games for young kids 2008. more
  • Func Mousepads more
  • The Silverlight Application Corner more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD