|
|
|
Welcome to Games Programming section of C# Corner. In this section, you will find various Games related source code samples, articles, tutorials, and tips.
|
|
|
|
|
|
|
|
|
Yahtzee Program Using C#: Part II
by
Mike Gold
on
Apr 28, 2007
This is an update of the Yahtzee program for VS 2005. Included in this version is a Game Reset and a High Score Tracker. The Top Ten High Scores are tracked using an Array with sortable components. In this article we will talk about the IComparable interface used to make an object stored in an array sortable.
|
Hangman Program Using C#
by
Mike Gold
on
Jan 31, 2007
Hangman was created to illustrate several features of C# including GDI+, string manipulation, array processing, using properties, as well as simple creation of objects.
|
Brick Out in C#
by
Mike Gold
on
Jan 31, 2007
Way back, I'd say about 1981 (ok maybe not so far back!), there was a game for the Apple II called Brick Out.
|
BattleShips Games
by
Paul Trott
on
Jan 31, 2007
This application presents a grid of 100 squares to the user. The user has thirty five attempts to find to find the computers fleet. The computer randomly positions five ships of varying sizes around the board.
|
Eater Game in C#
by
Mike Gold
on
Sep 01, 2006
This is a simple game written in C# in which the user moves a packman like player around the form and gobbles up red dots. The object is to get all the dots in as quick a time as you can.
|
Space Invaders for C# and .NET
by
Mike Gold
on
Aug 30, 2006
This is an update of the space invaders game posted on C# Corner 3 years ago for Visual Studio 2005. This version adds spiraling bombs and a ship lives indicator.
|
Asteroids in C#
by
Danna Boneheart
on
Feb 03, 2006
As my first experiment in a game design, rather than using a DirectX wrapper, I decided to explore the functionality of GDI+. GDI+ has lot of nice features to offer but performance wise it is slow. So GDI+ may not be a good idea to develop practical fast paced games. This game also includes sounds.
|
Nemesis-7rc1 ( Codename Deviate)
by
Tony Tromp
on
Feb 03, 2006
Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
|
C#RIS : Tetris Game in C#
by
Andrew McCarter
on
Feb 02, 2006
I have written a Tetris clone that demonstrates how to use off-screen graphics buffering for smooth animation and utilizes a multi-dimensional array approach to designing a game grid. The classes are largely self-explanatory and the techniques are documented in code well enough to explain what is going on.
|
Generating Maze using C# and .NET
by
Mike Gold
on
Feb 02, 2006
Did you ever get the feeling that cubicles were laid out with the idea that there could be no escape? (Must be I am a bit overworked these days). Today's article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
|
Eater Game II - The Stone Maze
by
Mike Gold
on
Feb 02, 2006
This program combines the designs of the Eater Game and the Maze Generation Program to create a more challenging game, Eater Game II. In this game, you move a pacman-like character through a maze and eat as many stones as you can before time runs out. You have a minute and a half to try to eat stones before the pac-man simply freezes-up and accepts his quota of stones.
|
Move Grid Puzzle
by
Prasad
on
Feb 02, 2006
This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
|
Simple Game Developed in C#
by
Rajadurai P
on
Feb 02, 2006
This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
|
Mastermind Game in C#
by
Mike Gold
on
Feb 02, 2006
This is the game of Mastermind written in C#. The game is played by clicking on a set of 4 colors and then hitting the score button. Colors can repeat themselves in this game, so be wary!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
The book cover ASP.NET 2.0 as a whole, illustrating both the brand-new features and the functionality carried over from previous versions of ASP. This book will give you the knowledge you need to code real ASP.NET 2.0 application in the best possible style.
|
|
Browse more books here»
|
|
|
|
|