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(3)
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.
SQL Programming using .NET
Feb 01, 2001.
This program shows several data objects, some draw backs of each and some interesting things.
Copying and Pasting on Clipboard using C#
Feb 23, 2001.
If you use CTRL+C, some data or files are copied to a system clipboard and stored in system memory and when you use CTRL+V, the data is copied back to wherever you paste it. The Clipboard class provides functionality to place and retrieve data from the system clipboard. Usually
Introduction to SOAP
Mar 22, 2001.
Since the release I have been fascinated with this thing called SOAP, This bubbly new protocol backed by the power of XML is certainly going to make waves in the world of distributed computing. The first thing which comes into our mind is “Why the heck we didn’t think of this before?
Web Request Class
Apr 04, 2001.
This is a simple application that the gets the source of a webpage via the WebRequest Object.
File Merger and Splitter in C#
Apr 10, 2001.
This program can break up a large file into several files AND merge those files back into one single large file.
Wireless Model : How Does It Work?
May 09, 2001.
The browser sends an HTTP request to the Web server, which interprets the request and determines which resources to retrieve or execute. If the URL specifies a file, then the server sends it back.
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.
.NET Brings The Fun Back to Programming
Jul 11, 2001.
Today, we are all comfortable sitting in front of our high powered computers running graphical user interfaces and compiling code in sophisticated development environments.
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.
.NET is the Future
Jul 19, 2001.
This has been a long time in coming. I couldn't write any more article because of some problems but finally I thought I should talk about the future of .NET. The reason is very simple, I'm getting almost 50 mails a day in my inbox just asking about the future of .NET and the comparison with other technologies. So I'm presenting my own views about the future possibilities of this technology.
Generating XML from SQL database
Jul 30, 2001.
Some Days Back i posted the article dealing XML as a Middle tier but i guess the People didn't get the clear funda.
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.
SharpHSQL - An SQL engine written in C#
Jan 08, 2002.
.NET! C#! If you haven't been inundated with the marketing of Microsoft's new initiatives, you've been living in your cube without a web connection for quite a while. Like a lot of developers, I had installed the .NET SDK and the Beta 1 of Visual Studio .NET and played with it. However, since its release was so far out in the future and I had deadlines to meet, I soon went back to working with the things my customers needed now.
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).
Saving and Reading Object to/from a Database
Mar 25, 2002.
An object is a memory stream, which is hard to write using the normal methods. In this article, I show how you can save objects in a database and read back from the database.
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.
Getting NASDAQ Quotes with a Pocket PC
May 22, 2002.
If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may be wondering what you can do with it.
An Editable GridView Control in C# and .NET - Part 1
May 28, 2002.
I've gotten a lot of e-mail about my GridView control Article, so I've decided to write a follow up article on a more powerful control that allows you to edit the cells within the control and change the colors of the cells.
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.
Getting System Information
Sep 26, 2002.
The attached source code returns the system information for your machine such as machine name, operating system, current user and logical drives.
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.
Automating the Process of Getting Latest Files from VSS
Jan 22, 2003.
In this article, I will show you how to write an automated process of taking VSS backup. Initially, this application was written with some hard coded settings such as user name, password. and VSS path.
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.
MWLabels and MWScrolllabels v3.0
Apr 14, 2003.
MWLabeland MWScrollLabels are back (v3.0). This time you can choose which StringFormat you want to use: traditional GenericDefault or GenericTypographic. GenericDefault is like a normal Label and GenericTypographic is what has been used in the previous versions of MWLabel and MWScrollLabel.
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.
Getting Official DayTime using NIST TimeServer
Apr 21, 2003.
This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time.
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.
Aug 29, 2003.
This application is written in C# and is multithreaded, the allows the client application to invoke the POP3 library and get the messages, the status and the results of the POP3 events are passed back to the client application using the C# delegates.
Object Oriented: The Grownup Way to Code
Sep 29, 2003.
Back in my dark days of Procedural Programming, I remember someone giving me a problem, then banging out a few (hundred) lines of code, achieving my goal, and going on with my life. The next time a similar problem would arise, I’d rewrite, or in some cases, cut & paste my old code to achieve a similar, yet slightly different outcome.
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.
Migrating COM/DCOM Applications in Microsoft .NET Framework
Dec 09, 2003.
In the current Internet scenario, various classic applications run on multiple networks. These applications could have been written using different languages like Visual Basic, Visual C++. For example, a retail organization would have different systems, such as an inventory management system, a bill of material systems, and a general ledger system, all implemented using various technologies available for application development. These systems need to be integrated to form a higher-level enterprise information system for an organization.
Training and Simulating a Neutral DotNetwork in C#
Jan 16, 2004.
In this article we will explore a well-known AI algorithm for modeling the training of neural networks called back propagation.
Jan 26, 2004.
This is a tic-tac-toe game written in VB.NET and GDI+.
Downloading Data as a File from a MemoryStream
Mar 29, 2004.
This article will show you how to buffer data into a MemoryStream from a query and output the buffered data back to the browser as a text file.
Downloading Data as a File from a MemoryStream Using a HTTP Handler
Apr 07, 2004.
This article will show you how to buffer data into a MemoryStream and output the buffered data back to the browser as a text file using a HTTP Handler.
HTML Client for Web Services using DHTML Behavior
May 23, 2004.
In this example we will access a Web Service created in C# from an HTML client.
Getting Started With Exception Handling in C#
Jul 14, 2004.
This article explores exception handling mechanisms in C#, including an explanation of exceptions and why we need to catch exceptions.
Difference between passing reference types by ref and by value
Sep 02, 2004.
We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
Sep 16, 2004.
Extreme Programming is new development technique getting adopted in the software development and the key strength of this methodology is simplicity, team work, quality and testing.
Oct 04, 2004.
Pocket Trilma.NET is a Pocket PC version of project Trilma.NET.
Getting Web Statistics for Instant Downloads in ASP.NET
Nov 05, 2004.
One of the most important website activity parameters is the resource access statistic. Such information is necessary for many purposes - optimizing of the website content, marketing campaigns improvements and also for some diagnostic tests.
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.
Posting to another .aspx using ASP.NET
Mar 19, 2005.
ASP.NET wont allow to post back to another aspx page. It will post back to itself. If you specify action attribute it will ignore it. If you omit the method attribute, it will be set to method="post" by default.
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.
May 13, 2005.
The attached source code is a MouseStick control written in C# and Windows Forms. The MouseStick control gets its name from the fusion of a joystick with a mouse. Think of the line in the MouseStick as a joystick that is controlled with your computer's mouse.
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.
Getting Data Providers Details in ADO.NET 2.0
Aug 19, 2005.
In ADO.NET 2.0, there is a new addition of DB provider factory classes, which allow developers to get the information about the data providers available (installed) on a machine.
How To Get All Database Tables and TableColumns in Oracle
Nov 08, 2005.
In this article, I will show how can I fetch all tables and corresponding columns from an Oracle database using C# and Oracle .NET Data Provider.
Navigating Data Grid using Client Scripting
Nov 10, 2005.
It's very common practice to use the Data Grid to present data over web pages. Though the Data Grid is provides the richer UI presentation if not coded and handled effectively it can have great performance issues. This article gives the code sample for navigating the data grid using the Client Scripting (thereby can be used for lots of validation before doing the Post Back to the server) and minimizing the round trip to server
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.
How to Overcome Error "Access to the Path Containing 'hash.web' is Getting Denied."
Jan 08, 2006.
The article is about how to overcome with the error that reads "Access to the path containing 'hash.web' is getting denied."
Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
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.