Saturday, February 4, 2012

C# Tutorial: Simple Dice Game Part 1 (Video)

In this tutorial we will make a pretty basic game where a player can press a button and it will roll 5 dice. We will display images instead of numbers to show the state of the dice. As we expand on this tutorial series we will program the game to recognize the state of each of the dice and assign the combine dice a score. We will be treating the dice kind of like a poker hand and will use terms like full house or straight. The only exception would be if all 5 dice landed on the same side and it would need to register that as 5 of a kind.

What you will need to follow this tutorial:
  • Microsoft Visual Studio 2010
  • Dice Images
Microsoft Visual Studio 2010: You can get the free express version here (http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express)

Dice Images: Right click on each of the below images and save them somewhere that you will be able to find them later.




Hopefully, you find this tutorial informative and easy to follow.  This is my first tutorial so, please, leave me feedback on how I can improve.  Also, let me know if you would be interested in continuing this tutorial series or starting on something different.  Don't forget to +1 and Like this post.

Download the solution file for this tutorial here:  Download Solution

Check us out on Google+ (Indie Development).
Check us out on our .co site (Indie Development).

No comments:

Post a Comment