Related resources for Games Programmming
  • BattleShips Games1/31/2007 4:08:45 AM. 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#9/1/2006 6:02:02 AM. 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.
  • Mastermind Game with Drag and Drop Functionality2/3/2006 12:08:18 AM. There as nice article some time ago on this site for creating mastermind game by Mike Gold. I am rewriting complete game from scratch to implement Drag and Drop feature and presentable User interface.
  • Nemesis-7rc1 ( Codename Deviate)2/3/2006 12:08:15 AM. 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#2/2/2006 11:25:38 PM. 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 .NET2/2/2006 11:25:02 PM. 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 Maze2/2/2006 11:19:23 PM. 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 Puzzle2/2/2006 7:11:49 AM. 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.
  • FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NET2/2/2006 7:02:07 AM. I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.
  • Simple Game Developed in C#2/2/2006 6:57:37 AM. This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
  • Get the Place Game in C#2/2/2006 6:28:00 AM. I have written a game in C# called Get the Place.
  • Hangman: Using GDI+ in ASP.NET Applications2/2/2006 5:40:52 AM. This example shows how you can combine GDI+ commands on a web form.
  • Shuffle Game for Beginners2/2/2006 5:24:45 AM. This code sample is a GDI+ shuffle game aimed for beginners. Attached zip file includes the exe and the Shuffle.cs file.
  • Tic Tac Toe2/2/2006 5:08:39 AM. TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable. This example uses .NET Beta 2 and was written using a text editor.
  • Yahtzee Program using C#2/2/2006 4:53:17 AM. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Time Ticker2/2/2006 4:14:19 AM. Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
  • Image Shuffler Game in C#2/2/2006 4:10:06 AM. This game asks for a Image file to be Opened When the file is opened and shuffle button is clicked the image will be Shuffled ie rotated clockwise the task is rearrange the image in the Correct order using the button provided.
  • Space Invaders in C# and .NET2/2/2006 1:42:04 AM. Yes, the classic arcade game has returned and is appearing in C# Corner complete with sound and authentic aliens and source code. It's not quite as good as the real game, but with a few adjustments it can get there.
  • Marble Solitaire Solution Display in GDI+2/2/2006 12:49:57 AM. The application finds and displays solutions to a game of solitaire. The application was written using Visual Studio.NET Version 7.0.9254. The test suite was written using NUnit, which is a .NET port of JUnit.
  • Another Tetris Game in C#2/2/2006 12:13:43 AM. Here is another version of Tetris. This program uses opaque background instead of real double buffering.
  • The Making of Pong2/1/2006 11:55:48 PM. The purpose of making this classic game was to show simple game structures in C#. Concepts include the "Game Loop", "Input" and "Paint. If you are just beginning in game programming, C# is turning out to be a great place to start.
  • Memory Game2/1/2006 11:40:12 PM. This is a memory game where you can use your favorite pictures (.bmp, jpg, gif).
  • Space Breakout - 2D Game Developed using DirectX and C#2/1/2006 10:57:11 PM. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers. Unfortunately if youve tried to develop smooth detailed animation using GDI+ you have undoubtedly discovered that just how slow it can be. Consequently it is not particularly suited to games development, if you want to really take advantage of your 1 gig + processor and that fancy new graphics card youre going to have to get a little more low level and dirty, enter Microsofts DirectX API.
  • Mastermind Computer Player using Genetic Algorithms in C#2/1/2006 12:42:43 AM. After writing the Genetic Algorithm Article for implementing a Genetic Algorithm in C#, I tried to think of a good example of how to illustrate a real-world use of Genetic Algorithms to illustrate artificial intelligence.
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...