No new comments.
View All Comments
No new messages.
View All Messages
No new notifications.
View All Notifications
Request a new Category
No tag found
Refine by Author
John O Donnell(1)
A Jean Michel Cobb(1)
No resource found
Shuffle Game for Beginners
Jan 05, 2000.
This code sample is a GDI+ shuffle game aimed for beginners. Attached zip file includes the exe and the Shuffle.cs file.
Yahtzee Program using C#
Jan 24, 2000.
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.
Flames for Fun
May 31, 2001.
This is my second application using C#. In this Application I used GDI+.
Jun 26, 2001.
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.
Tic Tac Toe
Jul 16, 2001.
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.
Eater Game in C#
Jul 31, 2001.
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 in C#
Aug 10, 2001.
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!
Get the Place Game in C#
Aug 14, 2001.
I have written a game in C# called Get the Place.
Move Grid Puzzle
Aug 15, 2001.
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.
C# Logical Game
Sep 03, 2001.
This article shows how to create a Logical Game in C#.
Simple Game Developed in C#
Sep 03, 2001.
This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
Brick Out in C#
Sep 17, 2001.
Way back, I'd say about 1981 (ok maybe not so far back!), there was a game for the Apple II called Brick Out.
Image Shuffler Game in C#
Oct 01, 2001.
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.
Hangman: Using GDI+ in ASP.NET Applications
Oct 11, 2001.
This example shows how you can combine GDI+ commands on a web form.
FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NET
Nov 09, 2001.
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.
Mark Six on the Fly
Dec 04, 2001.
In this sample, I demonstrate how a WebForm can be called directly as an Image.
Space Invaders in C# and .NET
Dec 23, 2001.
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.
Drag and Drop for Board Games
Jan 22, 2002.
This application shows how the drag and drop features in C# could be used to create a simple board game or whatever.
Yahtzee Program Using C#: Part II
Jan 31, 2002.
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.
Marble Solitaire Solution Display in GDI+
Feb 13, 2002.
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.
C#RIS : Tetris Game in C#
Feb 14, 2002.
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.
Another Tetris Game in C#
Feb 22, 2002.
Here is another version of Tetris. This program uses opaque background instead of real double buffering.
The Making of Pong
Mar 12, 2002.
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.
Mar 19, 2002.
This is a memory game where you can use your favorite pictures (.bmp, jpg, gif).
Apr 02, 2002.
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.
Asteroids in C#
Apr 04, 2002.
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.
Space Breakout - 2D Game Developed using DirectX and C#
Apr 11, 2002.
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.
Space Breakout - 2D Game Developed Using DirectX and C#
Apr 11, 2002.
GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers.
Mastermind Game with Drag and Drop Functionality
May 15, 2002.
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.
Robotics Game Using .NET Languages
May 28, 2002.
It is often not easy to get to know new technologies like .NET if you don’t get introduced to in a work environment.
Nemesis-7rc1 ( Codename Deviate)
Jun 13, 2002.
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.
Mastermind Computer Player using Genetic Algorithms in C#
Jul 22, 2002.
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.
Developing a Card Game using Collections and Properties
Aug 08, 2002.
In this article, author develops a card game using collections and properties.
Welcome to DX-Corner
Aug 14, 2002.
In this column we will explore the COM interoperability of DirectX and focus on game programming with C#.
Double Buffer Drawing with DirectDraw: Part1
Aug 15, 2002.
Because we will be primary focusing on 2D game programming in the first articles, we will use the DirectX7 API which is perfect for its DirectDraw class and simplicity. Don’t worry for not having the right DLL because DirectX8 has full backward compatibility to DirectX7 and the COM object should already be available on your computer if you have DirectX 8 installed.
Working With DirectDraw and Bitmap Images
Sep 05, 2002.
This month in the C-sharp DirectX column, we will be adding bitmap image support to our game engine.
Scramble for Pocket PC
Sep 19, 2002.
This article shows you how to write Scramble for Pocket PC.
Generating Maze using C# and .NET
Sep 25, 2002.
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
Oct 02, 2002.
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.
Oct 10, 2002.
So as a learning experience, I decided to try writing a Blackjack game.
Oct 15, 2002.
In this application I had combined the power of C# and AI in order to solve the "puzzle problem".
Oct 28, 2002.
Solving mazes is one of those problems, at least with the algorithm I've chosen here.
FreeCell Game using Windows Forms
Nov 14, 2002.
FreeCell is an implementation of the FreeCell card game using Windows Forms.
Daleks in .NET
Dec 11, 2002.
The other night my girlfriend dragged me down to the NYC Public Library claiming that they had a huge Science Fiction movie section. Admittedly my taste in movies and my wife's taste in movies can vary slightly, however, I was willing to take a chance, given that rentals at the library are free as opposed to $4 at the local video store.
ChessyOnline 1.0: An Online and Network Chess Game
Dec 31, 2002.
The attached project is a chess game that can be played by two users online as well as on the network.
Project Trilma .NET
Feb 19, 2003.
In 1883 George H. Monks from Boston designed Halma, an interesting board game with simple rules.
Missile Command .NET
Feb 23, 2003.
Missile Command .NET is a simple video game written in C# using GDI+ for graphics. It's a tribute to the classic Missile Command game by Atari. I wrote this game to teach myself more about programming in C#.
Mar 06, 2003.
Here is a dots game developed using C# and GDI+. New version of the game will be coming soon.
C# Video Poker
Apr 14, 2003.
This Video Poker game is an imitation of a casino Video Poker machine. It is written using Windows Forms.
A CLassic Warm Game Over TCP/IP with Multiplayer Support
Jun 09, 2003.
Worms.NET is an example of networking and graphics programming on .NET. This is a classic game with a worm.
Lingo Game in C#
Jul 30, 2003.
It is a Lingo game developed in C#. It is based upon Game Show Network's Lingo but has a few modifications to it.
Creating Word Find Pzzules in C# and GDI+
Sep 30, 2003.
In the past I have been guilty of trying a few of word find puzzles myself, so I figured why not give it a go it .NET. The Word Find creator reads a MSDE database of Words and Categories.
Creating Word Find Pzzules in C# and GDI+
Sep 30, 2003.
Perusing the newsstands in New York you'll find newspapers, TV-Guides, magazines, and even books. In the magazine section you'll often find crosswords and books containing the puzzles you'll see in figure 1. The books contain pages and pages of puzzles with hidden words contained in the matrix of letters in which you can spend time going blind trying to find.
Jan 26, 2004.
This is a tic-tac-toe game written in VB.NET and GDI+.
Oct 04, 2004.
Pocket Trilma.NET is a Pocket PC version of project Trilma.NET.
A Chess Program using C#
Nov 29, 2004.
This is a chess program, made using C#. It has used object oriented concepts and design patterns like Flyweight, Factory and Decorator. Two player can play this game and it has facility to drag-drop pieces. It also shows potential positions of each pieces which is useful for learning.
Generating Random Number in the Array
Dec 17, 2004.
This article shows how to generate random number in an array using C#.
Dec 21, 2004.
This is an old game, first implemented in 1996 or so... It has a great addictive power. You will quickly find out the rules. I used the winmm.dll library for playing sounds, the picturebox.Paint event to draw bitmaps in a Picturebox and a recursive function to check the balls next to each other for the colors.
Network Trilma Game in C#
Jan 12, 2005.
The game has been developed as stand alone using C#, each player has ten checkers which are initially placed in the corners of the board and the aim of the game is to place all checkers in the opposite corner of the board.
Sokoban Pro Game in C#
Jan 21, 2005.
Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
SharpChess in C#
Feb 10, 2005.
SharpChess (http://www.sharpchess.com) is a computer application that enables you to play chess against the computer. It plays a challenging, tactical and, I'm told, "fun" game of chess.
MADLibs.NET and C# and ASP.NET
Mar 22, 2005.
The MadLib.NET game will continue to prompt the user with each grammar only in the <> brackets. When the programming engine reaches the end of the template, the story is displayed.
C# ICE-Cast MP3 Streaming for WinAmp
Apr 02, 2005.
This little Web Application is for streaming MP3 files out to an WinAmp (www.winamp.com) interface.
Space Invaders for C# and .NET
Jun 29, 2005.
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.
Sudoku generating and solving using C# in PocketPC SDK
Nov 20, 2005.
The article is about a program writen in C# to create a simple game application - sudoku. The game can generate several diffculty level sudokus with one solution, solve previously entered puzzles etc.
Creating Games With the AllegNet Game Library
Nov 29, 2005.
In this article I will show you the way of creating simple games with the AllegNet game library for .NET.
A Loader and Game Pad for Playing Sudoku
Jan 13, 2006.
This C# application will allow you to load existing Sudoku games, manually create your own games, save, print, and check Sudoku puzzles, and more. The article also describes how to use the XmlDocument class to persist Sudoku templates and games in progress.
Advanced Technique to Improve Sudoku for PocketPC
Jan 20, 2006.
This article will explain a techniques to visualize sudoku in pocketPC environment and adding some helpful addons.
Using True Vision to Create 3D DirectX Animation in C# and .NET
Feb 21, 2006.
This article will give you an easy way to create 3D animation using the True Vision Game Engine. True Vision wraps the DirectX framework for a more straightforward way of 3D game development in .NET.
Shisen-Sho Clone in C#
May 29, 2006.
The attached code is a clone of the KDE game Shisen-Sho using Windows Forms and GDI+.
Considerations in Porting and Deploying a WinForms GDI+ Game to the Pocket PC
Jul 09, 2006.
This article describes some of the issues I came across when porting a Windows Form Game to the Pocket PC. It also describes how to deploy a Windows Mobile Application from Visual Studio 5.
WPF Application for Importing ESRI Shapefiles
Feb 26, 2007.
A standalone application for reading ESRI shapefiles and displaying them on a WPF Canvas.
Animating your XAML Apps
Apr 05, 2007.
This article will describe how to do 2D Animation using XAML Scripts. In the article we will describe how to implement transforms on XAML shapes and then how to move them around in your form.
Play Video in WPF
Apr 09, 2007.
If you have built any video enabled application prior to WPF, you must be familiar with the Windows Media Player ActiveX control. The WPF library provides the MediaElement control that encapsulates Windows Media Player functionality.
Programming XAML - A Quick Start
Apr 10, 2007.
XAML is a new descriptive programming language that is used to define user interfaces in WPF, Silverlight and Windows 8 Metro Style Apps. This article is an introduction to XAML.
Digital Ink in WPF
Apr 11, 2007.
Digital ink used to only be available as part of the Tablet PC SDK. Now it is bundled with Windows Presentation Foundation. This tutorial demonstrates how easy it is to integrate digital ink into your Avalon applications using XAML and C#.
XML Data Binding in WPF
Apr 11, 2007.
This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
Introduction to XNA: The Microsoft 2D and 3D Game Development Platform
Apr 20, 2007.
This article introduces you to the XNA Framework that makes game development easier than it ever was before. This sample features a star trek ship which you can move around the screen and shoot at the enemy Klingon Ship. The demo comes complete with authentic sound.
Star Trek -Part II: Adding moving 3D Objects to your XNA Game
May 06, 2007.
This article describes how to work with 3D Objects in your XNA game. In the article you will learn how to add a rotating planet to Star Trek to enhance the background. It also talks about how to add text to your game.
Jun 05, 2007.
Minesweeper is a single-player computer game. The object of the game is to clear an abstract minefield without detonating a mine.
WPF ComboBox doesn't bind correctly - Binding to Nullable Ints
Jun 07, 2007.
If you have been working with WPF and have had issues with your ComboBox or any list control binding then you can stop pulling your hair out.
A glance at .NET Framework 3.0
Jul 17, 2007.
This article glances on what is new in .NET Framework 3.0 and how this version is different from all previous versions of .NET?
KillerBeam - A Game in C#
Jul 17, 2007.
KillerBeam is a .Net implementation of the game called Laser Chess which appeared in Compute! Magazine in the early eighties.
Data Binding in WPF Windows Application
Aug 23, 2007.
In this tutorial I will discuss on how to bind Data with WPF windows application.
Aug 31, 2007.
This tutorial shows you how to work with the ListBox control available in WPF.
Creating MenuItem With WPF
Sep 03, 2007.
In any desktop application it is very important to have menu bar to the application/system, so that user will find easy to access it. In this tutorial I will be talking about how we can create Menu bar in WPF application using XAML.
WPF Database Communication Adding new Record to the Database
Sep 06, 2007.
WPF Database communication Adding new record to the database (XAML-MS-Access), I have a XAML form with FirstName, LastName, Email & Contact fields in it on click of submit button it will first check if the same email address is exists in the table else it will add new record I have made use of OleDbTransaction to perform add functionality.
Expander Control in WPF
Oct 02, 2007.
This article and source code show how to use Expander control in WPF.
Working with 2D Graphics in WPF
Oct 03, 2007.
This article provides an introduction of 2D drawings in WPF.
Data Binding in WPF ListView
Oct 05, 2007.
This article shows how to extract data from a database and show in a WPF ListView control.
Implementing a Simple Silverlight Control
Oct 30, 2007.
This article shows how to implement a simple button control using Silverlight 1.1 and C#.
Sample Application: Falling Apples Game
Jan 08, 2008.
This article is a sample application using structures, bitmaps and other concepts. Hopefully you find it an enjoyable example.
Chapter 2: Programming WPF Applications
Jan 09, 2008.
This article describes the framework that WPF offers and also tells the differences between Browser based and Windows based installed applications.
Apr 19, 2008.
This article shows you a small game by using simple text box ,buttons and dropdown list.
Chapter I: Introducing WPF
Apr 22, 2008.
This chapter provides you a brief knowledge about the Windows Presentation Foundation (WPF)
Using Windows Forms Controls in WPF
Jun 20, 2008.
In this tutorial, you will learn how to use existing Windows Forms controls in a WPF application. I have used Visual Studio 2008 to create this tutorial.
User Control in WPF
Jun 30, 2008.
This article discusses how to create a User Control in XAML and WPF using Visual Studio 2008 and how to use it in a WPF application.
Animated Banners in XAML
Jul 02, 2008.
This article shows how to use animation related controls in XAML to create an animated banner with animations such as gradient colors, text rotation, and resize the banner text.
Creating Fancy Tooltips in WPF
Jul 14, 2008.
Each control in WPF has a Tooltip property that can be accessed through XAML or code behind. This article shows how to create a fancy tooltip in XAML and WPF.
Transferring data from one ListBox to another in WPF
Jul 28, 2008.
This article discusses how we can transfer items from one ListBox to another in WPF.
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
CBeyond Cloud Services
TERMS & CONDITIONS
REPORT A BUG
©2016 C# Corner. All contents are copyright of their authors.
Terms & Conditions
©2016 C# Corner. All contents are copyright of their authors.