Tutorials in Game Development

roll dice

How to Roll Dice in C#

How to Roll Dice in C# This tutorial will simulate the roll of two dice in C# Windows Forms. The program will use the Random Class, that represents a pseudo-random number generator, which is an algorithm that produces a sequence of numbers that meet certain statistical requirements for randomness. The Random.Next() method will be used …

How to Roll Dice in C# Read More »

image animation

Image Animation in C#

Animation and game programming go hand and hand, and when using a graphical environment like Windows, users expect animation in games. Before you can provide animation to your game, you need to display a graphic or image. One method is using a PictureBox control, which is used to display graphics from a bitmap, metafile, icon, …

Image Animation in C# Read More »