Thursday, April 26, 2012

Card games made using VB.NET

In this post I will be introducing you some of the card games that I have made using VB.NET and C#.NET. You might have played some of the card games that came with Windows OS like Solitaire, Freecell, Hearts etc. These are well enough to seize your free times. I have made some other type of card games such as Solitaire 11, TenKiller etc. to introduce some other card games that are not available in Windows OS. Now, let me introduce Solitaire 11 card game.

Solitaire 11 is a single player card game for Windows OS. It is one of my first card game (Complete) that is bug free and works in Windows XP, Vista and 7. I have created it using Visual Studio 2005 with .NET Framework 2.0. The idea came to my mind when I first played the card game in my vacation with my friends. I planned to develop it using VB.NET as I was just moving from VB6 to .NET. As I am not an artist, I worried how could I draw the card faces. Then I captured all the card faces and deck designs from existing Windows card games so it becomes familiar to the player. I have not used windows title and border to make it more like game.

Game play:
A single pack of well shuffled card is distributed in twelve places without seeing them.  If the sum of two cards are 11 then they are covered by top cards in the pack. You can not put cards if it contains face cards like Jack, Queen and King. However, if they appeared at very first deal, and they are not overlapping any cards you can bring them back to bottom of the pack and replace them by placing a card from top of the pack.
In this game you need to click Deal at top-left corner. As soon as you click this button you will get twelve cards distributed from the pack. Then you have to click any two cards that have sum 11 like, 7 and 4, 6 and 5, 10 and Ace, etc. You can also replace Jack, Queen and King that appeared at first deal by clicking them. The more they appear at first deal the more there is chance to win. The game is won if you finished all the pack of cards and you loose if there is no any valid sum of 11 is left. The timer runs as soon as you click the deal and determines how fast you won the game which will be used to calculate your score (fate). To start a new game just click Deal again. You can click Help on/off to guide you. Its so cool.

See it in action. Please comment after watching the video.

Hope you enjoyed reading this post. I will post more games on my next post.

Thank you.

No comments:

Post a Comment