I wanted to code a game just for the fun of it so i started studying OpenGl and programming the game, but somewhere between collision detection and texture mapping, i got lost .. so here it is ...
It is a simple tetris game. instead of blocks in the mostly known tetris game, here letters are falling. if you put a letter comes to the top of the same one, they will explode. have fun...
It solves the alphametic puzzles with sum as the operation. (There has been some confusion about authenticity of this code. This code has not been originally written by me, and I found it on Internet, with a Coyleft notice, without names. If I infringe upon any copyrights or else, kindly notify me about the same, and if the original author(s) need my name removed our his/her/there name(s) added or the code removed tself, please inform me about the same. I am extremely sorry about any confusions caused. I have included the name of the suggested original author, Naoyuki Tamura, in the code and his/her copyright information will be regarded above and before mine.)
This is a game project, which was written in 2000, of displaying bitmap images under DOS and showing usage of mouse with nearly all features. Also it includes file operations for saving/loading game. I hope you will enjoy it...
This is a simple 2d engine that shows how to draw sprites, play multiple wav files at once, use joysticks/gamepads, and basically everything you need to build a simple 2d game.
This is a demo of AI, camera, terrain, sound, and movement using VC++, win32, DirectX, and Dark GDK, i've included the source code and binary files for educational purposes.
This is a version of Asteroids I programmed in about two hours. Its the complete code that I will go through during the next few tutorials my GLOB 2D engine. Its pretty simple, but has levels that increase in difficulty, and some sound effects and music.
Abware's game engine is a fast activex component written in c++ especially for vb programmers. the component allow you to design a full screen fast arcade game using directx 7 or later. in just a few lines of code you can add backgrounds, sprites and actions (animations) to make your favorite arcade games. the component uses ultra fast c++ code built from the scratch using simple techniques like linked list and structures to make it even faster. after uploading the zip file read the instructions rtf file first and then compile the c++ project (abSpriteEX1.dsw) before opening and executing the vb project (testapp.vbp). make sure your VC compiler is set to the correct directx libraries (need to have directx7 SDK on your computer) this stuff is for advanced programmers but if you need any help you can email me at :adib@malam.com and ill help you as much as i can. anyway those of you that will manage to activate both the VC and VB compilers will have an industry quality arcade games engine with full open source code in hands. enjoy it and dont forget to vote for me bye.
This is the classic game "Nim" used to demonstrate an artificial intelligence construct: the depth-search algorithm. It's also supposed to be fun. It could be improved, but it can never be "perfect."
This program draws a reddish pyramid with a fountain in the middle which contains wavy water, and sprays out blue particles (well it was SUPPOSED to look like water, lol). There is also a red globe in the center of all of this floating in midair for no reason at all. This project was a great learning experiance for me, but keep in mind it isn't all original coding. I got the base code from Dustin Davis' project at http://www.planetsourcecode.com/xq/ASP/txtCodeId.1080/lngWId.3/qx/vb/scripts/ShowCode.htm and I learned much of the stuff that I added to it at nehe.gamedev.net.
This code needs some help, right now it bounces a square on the X,Y and Z axis in a box. I need to find a way to get it to go all over, no just from right front to left back if that makes sense.
Now you can create adventure games without writing the text in the sourcecode. You only have to write txt-files! The program reads them and uses them in the game.
Evan's adventure is an RPG with a battle system. It is still in very very early stages in development and i would like someone perhaps to make it with me :-) this is an excellent piece of source code for beginners necause it shows variables, if statements and classes.
This code is a game where you have 10 people (excelent graphics) who are shooting each other until only one or none remain.Every unit has a health bar which is reduced after taking a hit.When a unit dies it is shown as falling and blod is left under the body. Please vote and give me some feedback :)
This is just a simple game. It is for class, and a source of entertainment. I think I documented it well enough that it could be used for educational purposes also.
The player bets if the third card dealt will fall between the values of the first two. Kind of a bad explanation. But, it is a simple console version of the classic card game, Acey Deucey, sometimes called High Low.
This great advanced example is an example of a Bomberman game for the PC. There are powerups, hp, and it is 2p. It uses double buffering to draw the screen, and it is cool.
This is the first half of an OpenGL RPG. It contains most of the graphics processing code, and also walking and also tile-based collision detection. There is suppost for complex quadratic objects (spheres, cylinders, cones) and for normal triangles. As seen in the screenshot, it contains texturing, and implements the particle engine I submitted in January. In the top left corner is the Frames per secons, and there are 3 modes of movement/graphics. When you press 'M', it changes the mode between constant FPS, variable FPS and constant movement, and variable FPS and movement. In this version, there is a sample map with fogging and a test of most of the implemented features. Thanks to NeHe's OpenGL tutorials for helping me learn OpenGL. http://nehe.gamedev.net If you like this code, please leave feedback and vote.
The Purpose of Game is entertainment ,it game you find on any mobile fone.this code is implemented through linklist class made by me,but the new developer use there own collection classes
This game is to arrange the numbers from 1 to 8 in ascending order inside the 3 X 3 boxes. If u click on the box near 0 the 2 values will be swapped. (Consider 0 as a blank.)
By Sufyan Jabr, A COOL SNAKE GAME, ITS REALLY DEFRANT FROM OTHER SNAKE GAME, IT DESIGNED TO BE PLAYED WITH THE EGAVGA.BGI FILE SHOULD BE IN THE SAME FOLDER WITH COULD TO MAKE IT RUN.
The purpose of this code is to show the use of rand() and how you can use it to make a dice roller. It shows the use of calling to a fuction getting input from the user as to how many sides are on the dice and how many dice need to be rolled, then it adds them up, shows the display of each roll added together.
This code plays a simple game of blackjack. The interesting thing about it is the routines I wrote to display some of the less common ASCII symbols to draw the cards.
This is a 2d game developed using the MasterX SDK by Jared Brunai. In the game you have missile and a keyboard controlled target through which you take aim and fire the missiles. The code is thoroughly commented and is very easy to understand and gives all the concepts of how to program 2d game with the help of MasterX. Please rate it !! P.S. Move the Images folder to the debug folder of the game.
My first game using the console functions. The left "player" uses q to move up, a to move down, and s to shoot. the right "player" uses o to move up, l to move down, and k to shoot. You can shoot up to 2 bullets at a time. please rate.
This is a cows and bulls game (word game) implementation.. Simple code and no gui.. If you wanna enhance it and make a flashy gui you are most welcome... Make sure u give me the due credit
This is a completly 3d racing game with commercial quality, named REVO TRON! It includes a 6500 lines DirectX8 3d engine with support for advanced 3d techniques like realtime shadows and reflections. An input, sound and network module is also included.
I have been programming in C++ for few months now and this is my first rpg in c++ in win32 applicaion mode. This could of been a full game since i got almost all the main points done, but I got bored and started to code another project. The main purpost of the code is to show people how to load a level from a level and a scene from another scene. I have been looking around pscode for rpg stuff to play for fun and all I saw was simple one scene games.
A shooting game that you play in Notepad that is more improved than the one I submitted earlier this month. It's a two player game in which the players *TAKE TURNS* shooting at each other. Please vote for it and/or comment on it. You comments are greatly appreciated. Anyway the controls are simple:
A text-based RPG. an astranged story that isn't too indepth. 7 classes to choose from. 3 types of magic with 15 spells in each type. weapon and armour are upgradeable.
"Ok anybody can write a text adventure so i can do it too!!" that is what i was thinking 2,5 years ago and i wrote my first c++ project the "an elf adventure".A vary small text adventure with a litle mess code but as usuall i made it for fun
Kaun Banega Crorepati is the Indian version of the much famous 'Who wants to be a millionare' .This software asks questions from an expandable question bank with 3 lifelines(50:50,phone a friend,audience poll).It looks pretty cool with the music & GUI similar to the original
For two players. It does jaque-mate and all the pieces moves. With right click, you select the pieces, then with left click, you put in place the piece
Just another blackjack thingy.. I suppose the one thing in here that some of you may take to use in your own code is the Deck class, which I think is a pretty good Deck class :-) Oh, and be sure to read the README.txt file ;p
This code demonstrates a 2d rectangle bouncing and rotating on the screen. It illustrates principles applicable to game physics, such as torque and conservation of kinetic energy.
Its just 3 rooms right now, plus a battle screen which is set up very nicely. NEW now there is a interactive battle with a final fanstay bar also you can attack and be attacked(animations), and magic is availible (haste&cure, fire will be tight when its done). PLUS I opted the printing so less "flickering" almost everywhere. Did i mention some color in the battles? Still haven't added the RPG story line yet, We're not too worried about that yet since we got this deadline for the class, but we plan to continue the game once skoo's ouut
This is a simple Breakout game designed in OpenGL. It is about 90% completed. Please note i will not finish this, and i know there are alot of warnings and problems. Please do not comment on those problems, this is as is code, its up to you to find and fix errors, bugs and warnings.
This is my first try at making a Direct X game in C++ this is also my first ever windows C++ game, please tell me what you think and ways that I could have made the code faster or more reliable. Thanks
Blitz is a remake of an old commodore game, u must destroy buildings so you can land. I used the OpenGL API and this is my first attempt at a game, i also made a map editor for it so you can make your own levels if you dont like the random game mode so please comment i have made other demos/games using opengl also a vote would be nice :)
My first game! This is a cool BJ game with lots of features, that's why it's different from other BJ games. You can play with or without betting cash, and you can even play by completing a series of BJ tasks which is also a pretty nifty feature. Although the code is messy, it is very VERY basic. Please try out my game!
This is a re-make, with some added suprises, of the calculator game DopeWars. This code is extremely easy to understand and edit, with TONS of comments. Great learning tool. Fun and addictive game. Please rate!
So, orginally I was planning on fleshing this thing out into a fully functional network racing game where you would drive a little buggy around, equipped with nerf cannons, trying to gather little purple spheres and boxes. The basic premise is kind of surreal, but I figured it would be kind of neat because the entire game uses the ODE (Open Dynamics Engine) library for realistic game physics. That kind of fizzled out when school started, and now if I were going to go back to it, I would complete rewrite it anyway, but I figured someone out there might find it useful, since there are very very few game-related physics sim demos online. For a more detailed description visit http://www.stanford.edu/~jjshed/boogybuggy. Also visit my growing (mainly game) source code library at http://www.stanford.edu/~jjshed/coding
This is a very simple battleship game that puts the player against the computer. There is a visual "board" created using arrays. Code is indented and commented. Great beginner's code!
This is Blackjack v1.3 which is for the console C++. You can place wagers in this game and also it supports demo-mode. I also included an option to output your game to a file.
This is 16bit C++ game and this contain some forms,textboxes,labels and some others thing and every thing made by me. Just See the screen shot of this game it is really very nice game just take, play it and rent me please.
This is a program that aids in creating maps for BZFlag (www.bzflag.org), a 3D networking tank game. It creates a randomly shaped world using parameters entered by the user. It can create worlds for capture the flag or freestyle. It saves it all to a file named by the user. It is very useful for anybody looking to start there onw server for BZFlag or distribute maps.
This is one more of those games where you have to rearrange the pieces that are randomly placed on the board back to its original place. But this one has some little differences: we are playing with colors and not numbers, the original position does not exist but a pattern and this pattern has to be repeated and since we are playing on a 3 X 3 board and the hole among the 8 pieces is also counted as a "piece", we have 9! ( 362880 ) possible different combinations or patterns - I am sending just about 18000 - so, that means it is going to take a while to beat the game. A very beautiful interface ( take a look at the picture ) and a very simple but very efficient code, make this little program a good source for beginners and intermediate level coders.
This is a game i made after learning the directx9 for 1 week. The physic calculations isn't perfect yet,hope some of you can help me =)For more informations suc as screen shots and what is coming out, check out my site at http://chooikw.s3.cybton.com/modules.php?name=Forums&file=viewtopic&t=41
OK, this i think is my second code post. I'm only 15 but don't let that not download the prog. Given poker's growing popularity and desire to make poker games, I decided to post some open source methods of doing it, by making a fully functional, proffessional quality bluff poker game. In bluff poker, you use a 20 card deck, and you're dealt 5 cards each. then you have a round of betting where you have to try to bluff and win basically. everything in this program is made by me except the card_dll class which i copied out of the book and the crandom and random functions basically. this is a cheap crappy fix for my computer AI, but this is my first shot at AI pretty much, and not to mention i'm not having the best of days (lol). The computer is smart. here's it's abilities:
This is a puzzel game that i made for windows. i used microsoft visual studio... Your goal is to get to your lunch. It?s not as easy as it sounds, you will have to use crates, bridges, toilets, scubbagers and mutch more to complete my 7 puzzels. 7 isn?t that many but you can allways make your own puzzels with the editor.
I fun C++ program I made in Dev-C++ one day. You battle with a monster in which you can attack, defend, or heal. Uses random numbers to decide the attack and healing ammounts. Have fun!
I've seen a few people make games that give you a scenario and a decision to make. Like: you're at a puddle of lava. 1. Jump 2. Swim etc... And they always put all of the 'script' stuff into the source code. This allows you to make that type of game by entering all of the script data into a separate text file. Just a base for many possibilities. Please vote if you enjoy ;)
It's just another Hangman-Clone with a nice menu. I'm a german, so the prog is in german too. The Game supports a wordfile, which will be loaded on gamestart.
This code is the starting point of any 3d gamer's quest to design a 3d game. It will show you how to use openGL to load and display 3d models and show you basic keyboard input along with mouse input. Move around just like in UT or Half-Life.
Redited: This is a game I made. Tell me the problems with it so I may fix them. I didn't include the help file for this code. Ok here is the why the game works. You play the cards then you draw cards from the upper left. Once you are above 1 attack unit you may attack by rolling die, but not after you play a card. You pick a player by the turn signal by the player when you attack. Then then you roll the die. After attack is done notice turn signal is red again. If you want to continue attacking choise the player then roll die. Enjoy :)
This example will show you how easy it is to draw objects using openGL. It draws a giant pyramid and you can walk around inside this foggy temple. Not much to it but it is really cool to learn from. If there are any probs email me.
This is a simple console game I wrote a few months ago, when I was only doing C++ for a few weeks. It has simple coding logic, and yet it is very addictive once you start playing it. The computer randomly picks numbers or letters (depending on the game type you specified) and you have to try to guess the number/letter position you are on indicated by "|X|". With the letter game type, after a certain level, it then becomes case-sensitive. There is also a simple point system that for each try you take, and get wrong, it deducts the amount of points you get.
An *unfinished* (but well-working* RPG, that is a GREAT learning tool for aspiring game programmers who do not know a lot about C++. The game also has a pretty cool battle system.
This code is for a simple code breaker style console game. The user can choose the number of digits in the code (from 1 to 9). Then the user guesses as many times as it takes to guess the code (which is randomly generated).
This is a simple game where you try to guess which wire to cut to disable a bomb. You have three bombs to disable. If you cut the wrong wire on any of the bombs you fail. It's great source code for a beginner to look at, demonstrates the use of a class and an enum type.
After reviewing a previously submitted keno game, a user said that there had to be a better way of coding it so I thought I'd try. Hope this is better.
This is just a simple version of snake that uses letters as the snakes skin and head.The snake does not go around on its own at the moment :-( because i dont have a clue on how to get the clock milli seconds in Borland for a loop, if any knows please can you E-mail me.It uses the key pad keys 8(UP), 4(LEFT), 6(RIGHT), and 2(DOWN).
Demonstrates the usage of classes, random numbers, and looping logic. I stole this idea from the code winner who wrote the Jackpot game. I didn't like how it was coded with functions and not classes. So, I recoded it with classes and added some conviniences. My hat is off to the creator of the Jackpot game.
This is a clone from Tetris and it is my first real game. I tried to do something simple but object oriented. Just download it, build it with VC++ 6.0 and run it ! I am sure you will enjoy :)
The code includes the whole game of chess and a new header files to use mouse, change its cursor etc in C++. Excellent graphics just make it a perfect choice. The game also includes a 16-Color BITMAP importer.
This is the famous Pong game version by me =). It is... well... pong. Need I say more? It opens up a window and draws everyting on it and there is a ball, and two paddles. Just have fun.
This is BattleShip, a game in which you have to play against the Computer by destroying his BattleShips or Fishing Cutters. It is based on an Access-Database where the names are saved.
This is a game that has a database that builds upon itself by its players. It asks yes or no questions until it decides that it knows what TV character you are impersonating. If you are a character that is not already in the database, it will ask you to enter a question about yourself and your name. A simple sample database is included in the zip.
I was curious as to performance difference between using my Dice class as opposed to using the rand() function directly. The files contain the header and implementation file for the Dice class and also a program that will accumulate a great many random numbers in a simple loop using a variety of methods available through the Dice class and then one loop with a straight function call.
This is a little game inspired by the old Atari 2600 game "Combat." Its basically complete, except a little polishing (mostly a menu, and better AI). You control a tank, and attempt to destroy the computer's tank. There are several hazards (such as flame throwers and mines), terrain types (such as water and grass), as well as some simple power-ups. Several pre-made arenas are included, or you can try and make your own (very crude, but simple). Unfortunately, I had to shrink all the images down in order to upload this, so everything looks a little grainy.
This is the classic game of snake. The more apples you eat the more longer your tail is. The more levels you comlete the faster you go!. Complete with my own menu and highscore list.
This is a tetris game i programmed and did the graphics for. I know the code is sloppy and could have been done a lot better but i wrote this years ago and noticed the games section was a little lacking.
It is a class for a deck of cards that contains a class playingcard. It is a lab I did for my school at Devry. Ive seen simular items but this differs in that it shuffles like real life. I doesnt use random numbers between 0-51 then arange the cards accordingly . It splits the deck at a rand spot the places a random number of cards - alternating between the halves in a new deck. It then will deal fropm the top of the deck. I will use this to build a blackjack game for my c++ class the code is 100% original nut the idea was prof steve samuelsons
Its a clone of the classic microsoft qbasic game nibbles, but its written in C++ and it has a few adjustments & modifications here and there, such as doors, smart worms, and bouncing balls.
THis is my first version of connect four with out any AI you have to play it with 2 people. Let me know what you think by emailing me at sacrificered@hotmail.com
This game is alot of fun. It is pleasing for the mind and the eyes. If you like colorful graphics with easy gameplay you will like this game. The source show some interesting math as well. And it works! I think you will like it.
fairly basic O & X game. logs moves that it is 'taught' and remembers them to serve as a kind of AI demonstrates some of msoftcon and fstream files. Please give me feedback on this - constructive critisism is the key to improvement...
This is an implementation of the infamous 'Game of Life'. Made with VC6, as Win32 application. Demonstrates double-buffering, window clipping regions, bitmap buttons and more.
Hi there! This is Denthor of ASPHYXIA, aka Grant Smith. This training program is aimed at all those budding young demo coders out there. I am assuming that the reader is fairly young, has a bit of basic Std. 6 math under his belt, has done a bit of programming before, probably in BASIC, and wants to learn how to write a demo all of his/her own.
This is a graet game with sound! that shows graphics skill of c++ graphics.h library.You can learn how to move objects on the screen and block them.have fun with this game.
well this is a jackpot game i made. it is really fun. beginners should look at the code cause it will really help you with C++. This is a must Download for all types of programmers. from newbie to expert it is fun.
A simple improvement on Shariq Haseeb's award winner tic-tac-toe game. Removed some code redundencies, simplified the control process, etc. This code is dedicated to Shariq Haseeb.
This is a cool game engine it has alot of things for a game programer to learn from , Loading Models , Movement , Skybox and even sound this has all the things you need to know now for starting your game Don't Forget To Vote :).
This is my first game it it is great for learning from and has lots of reausable classes. this is my first attempt at a game so please give me feedback. The aim of the game is to dodge the asteroids.
This program Conquest v3.00 is a 2 player multiplayer game that can help teach basics of C++ with an introduction to classes. It provides a great example for classes, while implementing if, else, else if, and numerous different operators to show how to make a multiplayer game.
This is my first ever C++ program, only download this if you are at the "Hello World" stage of C++ programming! It is for 2 players, the aim is to guess the opponents number. Since there is no validation or error handling yet, this sad program can easily crash or fall into an endless loop if someone types in an invalid number or a string. Well, it is my first game.
This is one of my first programs, it is a card game where you try to guess if the next card that is drawn by the computer will be between the first two cards, and make your bet acording to what you think. This is basicly a experiment with a random number generator so if your a begginer you can look at the source and see if it can help you figure out how to add a random number genorator into your programs.
This is one awsome screen saver! Get it, get it, get it! It shows 3D shapes, random colors and 16 different disigns! There's one where it looks like your in a tunnle and the tunnle is going past you and the going down, there's one where it looks like your in an ice cavern, man I just can't explain all of 'em! Try it out! And please vote! Og yeah. Most of the credit should be directed to Steve Nunnally for the original code. I simply edited it to look better. Vote! Vote! Vote! Did I mention vote?
This is a game of checkers (draughts) that was made for my final project. the game features AI made with minmax tree and alpha beta prunning. You have some options available like effecting the engine and changing the depth. The depth can be chosen from 2 to 10 (the program works fast enough even in the highest level). The sourcecode has explanations for every function and detailed as possible by programming rules i was taught. Written in win32 api with visual c++ and works good in win2k and winXP, may have some graphics problems in win98 (not sure why). The sourcecode is good for tutorial aswell, i think it may help some of you to learn how to write games against computer. The program itself contains rules for those who are not familiar with draughts and has the ability of multiplayer (player vs player) aswell. Took me several months of work and tests. Enjoy :)
A small text adventure(MUD) that uses file reading, classes, standard library, and some other beginners stuff. Almost everything is commented for beginners to understand what's going on.
This is a Minamal RPG with a besic fight system. This is my first C++ program EVER!! granted it is not the best but what do you expect from a 16-year-old's first 'real' program? Thanx and have fun, you have any suggestions for 'RC1' e-mail me please!! tenchi1@animeinn.net or ffvrules@yahoo.com
This will simulate a lottery drawing for you. You tell it the high number on the ball, and your 3 lucky numbers. It will tell you your chances of winning, then simulate the lottery drawing until you win. Got me an A since the program was for my SAN 174 class so I can't complain.
it is a car game where u have to avoid the car from hitting the obstacles.there r 3 levels.i have written the code in c using turbo c\c++ v3.set the character repeat delay(control panel > keyboard) to minimum before playing the game.
<a href="http://www.lehigh.edu/~pmn2/hangman.html">NEW VERSIONS</a>(uploaded daily with new features each day)...<a href="http://www.lehigh.edu/~pmn2/hangman.html">Click here to get the most recent game</a>...IT'S HERE, the save game functionality you've been waiting for. Now you can finally get that illusive high score, check it out <a href="http://www.lehigh.edu/~pmn2/hangman.html">-> here...</a> Newest versions have high scores list, better two player games, edited names(so the games are not so easy), version information and the save game option...ALSO at <a href="http://www.lehigh.edu/~pmn2/hangman.html"> this site</a>, new as of 12/07/00, the MOVIES Edition(1800 new games). If you have become a college names expert, try this game, it's much more difficult. ***This submission:
Craig Vella's Nibbles V1.0 Beta, Has A Complete Settings Orientated 1 Player Mode With A LAN/NetWork/Internet Compatible 2 Player Mode Using Winsock. If your just trying to get into LAN/Internet It's a great Piece of Code to Look At, If you like it Please Leave Comments as i am constantly updating and changing it so i need the feedback.
THIS IS A GAME CALLED NIM YOU START WITH 30 Stones each player takes 1 to 3 and the last player to take one loses . This version is u vs the computer with simple AI for the computer
This is a simple game of twent one that allows u to play just u vs the computer and it also allows you to bet to see how much money you can win. It uses to special librays my personal utility.h and also a wait.h
This prgram is a continuation of my learning proscess. It is an extension of my last dungeon game. This one is better because it involves graphics. This is an update where I added a mane dialog box and fixed some bugs.
Displays a string character by character in a way that looks like the computer is decoding/cracking it, inspired by so many of the films that get it wrong. Compiles perfect on Dev-C++.
It Is A Text Based Adventure Game. In Which You Move Through A Maze Then You Attack The Monster Still In Alpha Stage Vote For Me And If You Just Want The .EXE <a href="http://www.dw-webdesign.com/main.zip"> Click Here</a>
In this version of DopeWars you are a drug dealer who travels to different cities and buy and sells drugs while trying to find the best prices. (Recently revised by Daniel Parisi)
This is a small game written in C for windows. It is a fun little game, check the screen shot for a sample. It compiles with the borland compiler. Fun game for 2 players. Grab your nearest buddy and have fun!
This is just a game that I wrote for my High School C++ class. It only has ASCII graphics, but has an awesome backend. All of the data is contained in the .DAT files so new things can be added without recompiling the code.
in this game, a square matrix of dots will be presented. player 1 & 2 would have to draw lines connecting adjacent points, using mouse to get boxes and the player who gets more no. of boxes wins.
I decided to update my code for this. It has a small menu now, I rearranged the code, delete 3 variables that did nothing, and made it so you enter column then row (I also fixed my mistake in spelling column 'collumn'. Please rate this, since it was my first attempt at a game.
This is my own dx ball game.....the ball deflects pretty much like the original dx ball....I admitt that there is room for improvement and i even know how to improve it but i have'nt got time....any suggestions would still be welcomed
This is a cool game I've been working on. Basically, you have to defend your command center from the invading armies of stick figures. The main web site for the game is located at ---->http://www.anticure.com/defense<----.
When i was surfing across PSC i saw that there is almost nothing for 320 x 200 with 256 color progtramming in dos. So, I decided to upload the things i have got. I know that the DOS is dead now. But, it's a great learning environment for beginners. It has got mouse handling functions, you can play wav files, you van load 256 color bitmaps. DON'T MISS IT. It's a complete dos developer package. Please vote if you like.
This is my version of the popular Drug Wars game. You play a drug dealer who pays off his debt to a loan shark by selling drugs. Well commented code. Currently does not support the police(Eh, who needs 'em?).
It is a graphics based project. A user is asked 15 questions (max) till he answers correctly. If you succeed in all question you get 0ne crore (10 million). It works with both mouse & keyboard . so, download it, execute it and become a crorepati (millionaire). THANK YOU. PLEASE DO RATE IT.
This is yet another version of the classical snake game where the goal is to eat fruits. What differs this version from all the existing ones is that two players are able to compete against each other.
Extreme Racer is a 2-Dimensional, aerial view car racing game. The user controls his/her car using the arrow keys. He/She has to complete the race while dodging the rival cars, managing the fuel, avoiding obstructions. The car gets damaged and loses speed when it collides with rival cars and/or obstructions on the road.
Computer solution to the 8-puzzle problem using heuristics and BreadthFirst Search. Lots of useful comments!! Easy to understand. Animated Solution!! Requires Turbo C, BGI graphics and VGA monitor. Please rate this and add your comments.
This console-based program is a follow-up on my previous submission (WinEliza). I've cleaned up the code using the Standard Template Library (STL) containers, streams, and strings. Demonstrates usage of vectors, maps, multimaps, sorting, finding, exceptions etc.
This code shows the use of bitboards (64 bit unsigned integers) in chess. Very basic. With every version i will upload different concepts for developing a chess engine. This one just shows a chess board on the console.
In this version i have included pawn movement. It shows how easy it is to incorporate movements using a bitboard. It finds single and double pawn movements on a given position of the board. if the user enters the correct move it is played else rejected. PLZ drop in a few comments/queries/criticizm etc to let me know if im going in the right direction. Thank u!
With this version i have included all pawn movements including captures, promotion and en passant. Im really looking forward to your COMMENTS about the code...if it can be made more efficient etc. Thank u!
I converted Falling Quadz into a fullscreen Direct X game. Unfortunately, since it was designed as a windowed GDI-only game, it's not as fast as it could be. However, I left most of the GDI style code in comments, so you can compare and whatever.
This great code shows one line representing an arrow which flyes in the air and changes direction.Meaning you fire up and the arrows flyes up and constantly changes direction just like in the real world,the code is completly portable.
A simple one armed bandit fruit machine game, that i creted to help me learn C++. This is my first program in C++ and i wrote it in about 2 days, purely to help learn the language.
This was my end of the year project. I knew I had to make something good because i was kung f00 in my grade:) So i thought of a game everyone liked to play which was Falldown. Yes its a calculater game i converted to computer and loads of fun. This game will make your heart race. It consist of a ball and blocks. The blocks scroll up and the ball is constantly falling. If the ball touches the ground the block the ball goes up with it. If the ball touches the top u Lose!!! I have some awesome easter eggs. Some that where even better then peoples games hahaha. ************************At the name screen type in: 1 of 3 "3d" "Snow" or "Particle" |without quotations. Needless to say I made a 100 on the project it was fun and I learned alot. Some things in it are bad form and i know this and i have learned much better methods then this program. ***Vote or comment please :) ****
Fimbulwinter is a Win32 chess engine written in C that is under on-going development. Fimbulwinter can be played through its native console "interface" (and I use the term loosely), or through Tim Mann's WinBoard (http://www.tim-mann.org), which provides a very nice graphical user interface, the ability to match two WinBoard-compatible programs against each other, and the ability to run Fimbulwinter on online chess servers such as ICC and FICS.
Its a rpg style game with file I/O so the beginners can see how to read data and impliment it and also to basically see how a simple game works btw I am working on Fight Agianst Death II which is way better than this one you should see it soon :)
Much better than the original you now get experanice and can level up and the code is much sexier now to... oh ya and there's sweet icon to go with it :P
This is a console game. I haven't coded in C++ for some time as I have been working in J2ME instead so I need to practice. I found a game on PSC and thougt I'd rewrite it for practice. I took out the goto lines and used functions instead. It's not perfect and has a couple of glitches.
It "randomly" generates a number between 0 and a user set number (could be between 0-1, or between 0-532525523432, all up to the user) Then it allows the user to select how many tries they would like to have.
GLOB (OpenGL object) 2D engine. This is my first release of my GLOB engine, which is an attempt to simplify creating 2D games with OpenGL. The program models some of the functionality of GLUT (like naming certain functions whatever you want), but is much more geared toward 2D game development. Since someone's already working on a DirectX one (MasterX by Jared Bruni), I decided I would try and work on one myself. This is in a pretty early stage (I've worked about two days on it), but so far, you can load in bitmaps and create GLOBs (which can perform animations and are the main part of the engine). The program sets up a bunch of default stuff so you don't need to worry about it (fullscreen, double buffering, orthographic projection, etc.). Included is a small demo that shows how to set up a quick, simple animation (loading in all the frames, drawing it and animating it took about five lines of code!). And please, if have ANYTHING to say about it (questions, comments, suggestions, or bug reports), let me know. It'll make development a lot quicker and easier.
I forgot to add this earlier, but I was hoping to get some feedback on the recent addition of the POLYGON_OBJ. Should I keep the engine as "true" 2D, and leave out any 3D objects, or should I keep it as is? I just thought some 3D primitives could make things like rotating planets easier, without having to draw each frame for an animation. Thanks.
This is a small demo showing off some of the abilities of the GLOB 2.25D program I am currently writing. I have gotten a few emails about it, so I thought I would program something. It illustrates a lot of the functions, how they are used, and what they do. I've included some game concepts, such as modeling a blackhole, some simple AI, and friction, among others. This is NOT a full game but merely a demonstration. Its set in outer space, with a blackhole and a spinning planet. You control a space ship, and a creature chases after you.
This is the third version of my GLOB engine, which now includes particle effects. I tried to make the engine as flexible as possible, as well as attempting to make it relatively easy. There are several defaults (rain, snow, star field, explosion, and several different rings), as well as the ability to create user defined particle emitters. The defaults only require about five or six lines to set up, process and draw. I've included a brief demo that shows several of the default emitters, as well as a user-defined one.
This is, as the name states, a 2d graphics engine using DirectX. It is a great thing for small 2d games, such as the one shown in the screenshot. It might be a bit slow if you do not use a newer computer, but still is a way to learn to program games easily. It does all of the API stuff for you and all the main DirectInput and DirectX stuff so all you have to do is include this file in your project. Enjoy!
A traditional game of Fifteen, where you need to arrange 15 squares in order on a 4x4 board. Simple but catchy. Makes use of bitmap graphics and built-in controls in a WinAPI setting.
This is the GLOB engine that I submitted a couple weeks ago that helps simplify the process of creating 2D games. Loading images and sound effects, and creating animations and particle effects can all be done with a few lines of code. I finally managed to get around working on my GLOB engine. I didn't mean to let it go so long without an update. But, I organized everything so that it should be easier to use. I've also worked on the sound functions so that they are similar to the rest of the engine. I added some new cool new features as well, including screen transitions (such as fading out), and taking a screen shot of the current screen. There is also a template .cpp, .h, and project files, so you don't have to worry about linking all the stuff. This is a development version (lots of error checking). Hopefully, I'll post a release version that removes a lot of the nonessential stuff. Note: this program requires OpenGL (www.opengl.org) and Microsoft DirectX.
This is the first in a series of articles I will write to illustrate the functions of the 2D game development kit, GLOB, that I am working on. The tutorial shows how to set up the basic stuff for writing your own games, such as creating the window, accepting keyboard input, and preparing to draw to the screen. Also, you will learn how to load a bitmap and MIDI music segment from disk, draw the bitmap to the screen, play the music, and print some text. The program also demonstrates some of the new features of the engine, particularly the screen transitions.
A fun litter space shooter game. Moving by pressing the arrow keys. Complete with a pretty nice little menu, highscore list, and alot of imagination!! All using an array. This is a must see for begginer. And maybe for advanced programers. If you like it PLEASE VOTE FOR IT.
This is a simple number guessing game with 3 varying difficulty levels. This code is very good for beginners and people that want to learn c++ it is very useful and well documented.
Take command of a multi-level environment. The player works to capture all the point spheres to advance to the next level. The game involves two tanks: the player tank and the opponent tank. Each side can choose to shoot or avoid each other. The player can even destroy the walls or objects that are presented as an obstacle. More environments will be built in future releases.
R3: Snake like mine fields that when collided with your ship cost strength points. See new explosion type algorithms. The moving mines provide an increased challenge to the already fun game.
Navigate the Angel Fish around the aquarium looking for food. By the fish! Its crazy but fun. Food has the following values from Highest to Lowest: red, green, blue, gold. Don't get tangled up in the coral. It slows down the feeding frenzy. Source Code Available: NURBs and MFC.
Navigate the Angel Fish around the aquarium looking for food. By the fish! Its crazy but fun. Food has the following values from Highest to Lowest: red, green, blue, gold. Don't get tangled up in the coral. It slows down the feeding frenzy. Source Code Available: NURBs and MFC.
Force is cool. A new 3-D space shooting game which matches you against an alien space-craft, variable speed and size asteroid. Avoid asteroid and collect points by shooting them. Force promises to be a fun action game for the year 2002 with over 29,000 downloads.
You know how games always play the same way twice unlike my example. Say a shoot'em up, Pretty soon you know where all the enemies are. This example uses a simple random function so games generally never play the same twice. It should be developed and instituted into an engine or something. It is a simple game design improvement procedure. I also had another example where enemies could stand or spawn at different places with every new game.
This a the classic game simon test your skills on how much you can remeber with a pattern. The graphics are kind of chessy cause i didnt spend to much time on them. The game uses link list to grab data. Other then that plase vote or comment :)
Simple Win32 API Tic Tac Toe game. Has a total of 24 strategies/blocks incorporated into one function called smart() that works on defense as well as offense. It checks to see what moves have been made and makes it's move accordingly. Better than playing a human for the computer never sleeps. ;) Good example of writing your own functions to perform tasks there are no built in functions for and getting different return values from your function to act accordingly. The boxes are numbered from left to right with the top left box being one. The top row is one to three, middle four to six and bottom seven to nine. Push the button that's number corresponds to the box that you would like to choose. Good example of subclassing child controls and using the template resource editor to create and display dialog boxes. One or two players.
this is my first attempt at programming for the Gameboy Advance and even though its a simple picture slideshow i think its pretty cool. i have included an emulator in the zip file that you will need to run the file.
This is a package I put together to help ease programming. This is a very VERY useful package. Look at the screen shot to see what all this one includes. This is package 1 and there will be more on the way if everyone likes this one. I will make updates often on this as I make updates on these systems in my engine. When I get more time, I will upload some demos for some of these. It also includes a PDF that helps explain what the different systems do. This package was ment for the kernel and systems part of an engine (A very little part) the next one will start on the graphics side.
This is a typical galactican war time game.Nothing special though, u may have a look! and if u are intended to develop any dos base game in C/C++ as an assignment or for any other reason this code may be helpful!
This game lets you specify a maximum number, then you try to guess a random number between 0 and the maximum number. You are informed if you guess too low or if you guess too high. Almost every line is commented!!
This is a source code of "Guess Game", which i have created, in the game you are asked about the name of a personality,place,sports player etc, which you have to guess, you have six chances. it is very beautiful game. compile the code with turbo c/c++ and play it with keyboard only.
Text adventure where the object is to crack passwords and break into a bank system.... Uses system colors, and is over 2000 lines of code in the main program alone!
This code plays the game of hangman from either file input or 2nd user input, this is the best hangman game on this site for turning into your class because it has updated code for year 2002. if you use it please give me like 5 dollars by contacting me by email please.
A nice little hangman game I made for a lab at school. If you could vote or leave a little feedback on what you thought I'd be very appreciative. Thanks, Ashley P.
Watching the snake game on cell phone i decided to make one. here is it. feel free to download and pass on. if you like it do vote. do look at my other submissions that are above this level.
Fill all the squares of a chessboard with a single knight. A well-commented code shows how to use a virtual window, and how to combine drawing to a virtual DC with direct on-screen drawing for better effects.
Guess number between 00 to 99, and bet points. Then the game will generate a number from 00 to 99. If your guess is right, get double money back, otherwise lose point.
It randomly goes through 51 numbers, and trys to match them with your picks. Though the cRand funtion is not purely random, export programmers should be able to make this simple lotto game into a master peace.
LogikBlox is a simple blackout clone. Clicking each block will negate it's value along with surrounding vertical and horizontal block values. The object of the game is to get the entire matrix one solid block color in as few moves as possible. This program was coded with the raw win32 API and GDI. Have fun!
This is my first real application i made in c++ (the really first was a calculator), in this Mastermind game the code is formed by a string of 5 numbers (from 1 to 6) and you have 9 tries. GOOD GAME
This is a version of a Minesweeper game (like the one in a standard Microsoft game folder), written in Windows SDK. It consists of a 10 x 10 field with 10 randomly placed bombs. Left-clicking opens a cell, right-clicking flags the cell for a bomb, and second right-clicking unflags a flagged cell. Opened cells are either blank, or show you a number of ajdacent bombs. The code doesn't maintain scores in an ini ile, nor does it time your peformance; but it lets you play over and over until you really get tired of it. Enjoy!
The purpose of this Tic Tac Toe game was for a classs of my to create an tic tac toe game that use only the drawning functions of MFC which i not an expertic on then i just started using it. It told me to learn mfc for this game about an day or two. have fun with it. it was created use MS Visual C++ 5.0/6.0
This 11-function map editor for tile-based games which use 20 x 20 stamps created with Tile Editor v1.0 is very useful for beginner programmers. The application allows you to start a new map, change the number of rows and columns of blocks in the map, and save and load maps. The program even lets you load up a cluster of stamps and then save the cluster as a ".clu" file. The application typically overflows the heap and crashes when more than 60 tiles are loaded into the array of available stamps for the map. A "fill" function and a "pull stamp" function are also available in the program. In addition, an "automatic" function exists to lay down stamps on every map cell that is struck without having to press the spacebar continually. Uses the number pad. You should also download the tile editor if you plan to make games with this application.
This is a text based strategy game based on a medieval theme. There are 25 levels of play where you may choose to play the good or evil path. Each path has an individual story line. The code was a group project at CGP. For more infomation stop by: http://communities.msn.com/CGameProgramming/_whatsnew.msnw
You can create any maze and this program wil solve it. It can figure out if there is no solution as well. It is animated using AVIs and was created using MFC. Create your own maze for it to solve or load and edit mazes. This is a good lesson for using STACKs. Also there were animations in the intro and About box but were too large to include in this zip. If you are interested in seeing them my ICQ is 9823848
This is my first game! It is very fun and interesting... Its a fighting game with multiple levels of dificulty... Hope you all like it and dont forget to vote.... Also to find out more about this game and about upcoming programs check out http://brokenangel.cjb.net
A minesweeper game. My code covers high scores, three different levels of play and a username for high scores. Graphics are medium. (I have included a screen shot). Please vote for my code and if you do download please write a comment or email me. Thankyou.
This program receives from the keyboard N*N integers (which represents matrix values) and prints to the screen the original matrix and a statement if the matrix is a magic square or not.
What do you do when Aliens invade our Earth???? Simple. You destroy them with your fighter plane. Play "MarsAttacks" and destroy all the invading aliens. (If you think the code is good, then please vote for it.)In case you are unable to compile the code, download the .exe from www.geocities.com/riteshtonk/MarsAttacks.zip
An othello (reversi)program coded using VC++. It haves many features including player vc player, player vs comp, undo move, suggest move, save/load game...
This code is a simple Math game, he generates random math questions, calculates score, show records, use colors, FULL COMMENT! EVERY STEP. Good for beginners who want to learn how to make some funny console-based games.
This MUD server is for showing the ability of what I consider the simplist way of using Winsock for server connection.. except for the linked lists :), but it's very basic and simple. It has enemies you can fight called Mobiles, and you can gain levels and fight other players. You can use objects as containers, weapons, armor, food, and even a light source for dark rooms. There are many commands for the mortal and immortal. It has a body-part system for fighting and armor. There aren't mny special things added, so you can derive it for uniqueness, like a hospital, a pawn shop, etc. It has a system for commands so you can make a new void and use add_act to add it to the list of commands. It's pretty good for a programmer of my skill.
Ministry is a text-based strategy game. It's one of the first major projects I've actually completed in C++. It's not much, but it is quite fun. If you like it, I would suggest that you try Ministry II. It should be available here or at (wjomx.tripod.com/games.html).
I have included all of the source nessicary to immediately compile a Tron style game. There can be 2 - 4 players, any of which can be human or computer, you can set your keys, and even earn bonus options if you escape the arena.
This an othello/reversi game. The game have good computer AI on single player games. There are also many others features: suggest move, 2 player game, undo moves, rotate/mirror game board, ai difficulties setting...
This Is a program which's simulate game like 2 cube that rotate randomly.Before we running this Program,we have to made a hardware module (Interfacing Through Parallel Port DB25),I'have describe this hardware module into Magic Cube.zip,When this Program is running,the result of the game will shown by Lighting Emiting Dioda (LED) on the Module.
This is a computer version of milton bradleys Battleship game. I was given this as an assignment for one of my projects at school. I have included a word document of the spec that I was given to write the program.
Only been learning C++ for 1 month & basically, this is my first real attempt at a fully functional game. It is a small casino type game with Blackjack & Casino Wars.It doesn't involve any graphics as i havn't yet learned how to do that. I would appreciate any critisism or help to make my code writing better. Meaning if i could have done something to make this code shorter or whatever PLEASE TELL ME! Hope you like what i have done so far.
This is a console version of the classic MASTERMIND game. This was done for an assignment for the first year of my computing course. Its nothing too impressive, but it has some 'upgrades' from a standard mastermind game, in that you can change the number of guesses you get(1-20), the number of pegs you have to guess(1-10) and the number of possible colors for pegs(1-9).We had to do all the code in objects, which is why there are so many .H files. Programming this taught me a lot about console input - things like getting input from the arrow keys and restricting which keys are valid input to stop the user entering input that would cause problems. (why handle errors, when you can stop them getting into the system in the first place!)Hope you enjoy it, and have fun!
This is nothing special, just a little tic tac toe game I made to keep me busy. It does not keep score or have an intelligent AI. Just a regular tic tac toe game where the computer makes a random move.
This is a general, very basic, number guessing game. Guess a number generated between 1000 & 9999 within 3 guesses, or keep guessing until the answer is found.
This is a fun snake game I wrote just to see if I could do it because my girlfriend loves it on her Nokia cell. It's in color and you can change the speed of your snake (with the 1-4 keys) and you can change the size of the game field (with S(mall),R(egular),L(arge)) and you can freeze the game. Your score is based on the size of the game, the speed of your snake, and the length of your snake. Enjoy!
To play a game of chess over a tcp/ip network. AI was not build in. The purpose was to teach myself socket programming for the first time. Also to play chess at work :)
This is a nice little game developed with Borland's graphics library. The game consists in putting the numbers 1 to 15 in order in less time as possible
simple RPG game using many classes. Walk around, attack monsters. Going to update this with new battle system and complete new gaming system when i get the time. this is just for people to use as an example (if they'd like) on how to use classes, base classes, derive classes, etc...
it will ask u to think of a word or a name less then or equal to 6 letters.........and will ask u some questions...in the end it will give u the name or the word u have thought..
This is a pretty basic yet POWERFUL OpenGL 3D engine. It loads worlds from an human readable text file. Basicly all of the code is not mine, but I thought many of you begging 3D programming would find it useful. On one script I tweeked the movement to make it similar to that of rainbow six with mouse input and strafing. It lacks collision detection. So if you are an advanced programmer I would apprieciate your input on how I could add collision detection to the script.
A game of tic tac toe with a nice GUI interface made with EzWindows Api. Yip, I know there are quite a few around. But I found it's always interesting to see how someone else did it. If you can beat this game, please post your moves, beacause then you are THE MAN.
This is a basic Tile Engine written in OpenGL. It renders a basic grassy map and the main character. This is very basic; it will be a game soon. At the moment, it runs at about 400 FPS on my 2.0GHz with a GeForce 4 MX 460. Have fun - and happy game programming!
This code is for everyone who wants to learn to program using BGI graphics. Apart from GUI, program also provides mouse support. Computer plays with you intelligently i.e. no randomization. Hope it will be a learning resource.
THE CODE SIMULATES A OTHELLO GAME WHERE THERE WILL BE TWO PLAYERS , ONE PLAYING FOR WHITE & THE OTHER PLAYING FOR BLACK.THERE WILL BE CERTAIN INITIAL CONFIGURATION IN A 8x8 MATRIX BOARD.
This is just a simple 2D pong, but with opengl/glut for rendering, i didnt see any other pong submissions that used opengl. I am reading a book on opengl, and i dont like making the boring samples from the book, its too easy and i feel like im cheating, so i like to take it a step further and do something on my own to make sure that i learned what the book was teaching. In this sample, there is basic 2D graphics, simple collision detection, a timer, and keyboard input.
SEE SCREENSHOT! This is a project i started as a basic 2D map editor that could generate realistic looking terrain using perlin noise - basically just a heightmap generator, but i decided to take it a step further and add 3D capabilities so that it could be edited in realtime. Current features include customizable perlin noise heightmap generation, with realtime 3D rendering, texturing, and a free floating first person style camera (with a unique algorithm i wrote myself, check it out). Please vote and/or leave comments, i like to hear how im doing, positive and negative comments are always welcome. Also suggestions on what to add are nice. Planned features include LOD, custom texture generation based on height values, detail mapping, light mapping, model placement (buildings, tree's, etc.), water, and a realtime terrain editing tool (raise, lower, flatten, carve rivers, pave roads, etc.). This is a large project so it might take some time, but please take a look at my code so far and i hope someone learns something from this.
This is to show a user how to get a point collision with a triagle using angles and vectors. Example code is on the bottom of the tutorial. With a point not in the triangle on a plane, and a point inside the triangle.
This program reads poker cards off the screen and displays the odds of winning, losing, and tying with 2-10 players. It will probably require minor adjustments to work in your favorite poker room. Also, it requires the gd library from boutell.com.
This demo allows you to move around several pieces on a board. Each piece is allowed a certian movment then the turn is over. This update now includes a combat system, so the units can fight.
well i wrote this code as my first semester project while doing my bc in cs.this is a 4-level game completly built on dos graphics....its quiet interesting to see these dos graphics as this game waz being made on turboc.i hv'nt used graphics.h in it as i am beginner in it......so plz hve a look and send me ur comments abt it!!
This is the classic game of pipes. It works except that the ending sequence isn't finished. If i get enough feedback i'll be more than happy to finish it. I've been quite busy latley :).
When u seen this game code u can find it very easy and short in length. After using this code u can made ur own game. If u like this code then submit vote to this code
Its a old style breakout game. The ball and the bricks use sensors to detect presence. This allows you to create new stages easily without defining limits of movement. The bricks can be broken from all the sides.
This code is a good mathemathical heuristic that detects fast if a mouse (x,y) or any other such coordinate is inside a circle described by a rect or not,very portable
Since my earlier submission of this code was accidently removed, I am resubmitting it again. This is an MS-DOS Tic Tac Toe game that runs in VGA mode. Some neat features like mouse support, GUI buttons, BitBlt-like image drawing functions with transparency are included. All graphics are saved in PCX format and when loaded they're stored as image objects, which can be drawn on screen at given coordinates. Have fun and don't forget to vote for me, and, perhaps, leave a comment.
Lottery type number generation. The user enters 5 whiteball numbers plus a powerball number, those numbers are compared with the computers picks [randomly generated], and then you are given the results of how many numbers matched up [and the score is given... if all 6 match, you win the jackpot!]. Very nice source code here by 3 college students [part of final coding project]... good use of many different C++ functions!! :-)
This is a very simple breakout game. when the ball hits the bat (base), whose movement is controlled by mouse, the ball bounces up and break the bricks. There is only one level in this game. The speed of the ball can be increased or decreased. The ball has three lives.
This is a Tetris game with excellent graphics and sounds. Learn how to harness all the powers of graphics.h to create great, fast, smooth and flicker free animations by using the getimage and putimage fns. Have a look at the screen shot to see what I mean. Feel free to use this code. If you like this program (or) if you find it useful, please take some time and vote for me. Your vote will be greatly appreciated.
this is a good text based game.this is a puzzle.number 89 is a rowdy.he is ready to take the position of the other numbers(use arrow keys).offspring keys are also tricky.they tend to take the position 89 left for them.
This Code is an engine for any playing card game. It creates a standard 52 playing card deck. It then Sets the values and suits. It has a shuffle function. Also it has a function to take a card off the top of the deck. I've set it so that the background is green and text is black, it shows how to do this as well with EXTREME DETAILED notes. There are two files. One with notes and one with only the Certificate of Authenticity. This Engine can be run in a windows game, console or both. It is a universal engine. If you find bugs please report them. I will fix it. Also please give me feedback to my code, how you like it, don't like it...though you should like it. I allow you to use this code in your own programs only if you keep my note at the top. If you don't your in trouble.
This is a cool particle system. See screenshot. Fire(candle flame), energy, sparks, gun fire, fire flies, crazy 8, and circle. It also shows how to do a simple GUI with openGL. If you like this please vote or leave a comment. They are always welcome. -James- BTW-If you don't have an OpenGL video card this demo will run slow. (GeForce 4 64mb - 76FPS, my laptop - 22FPS)
This is a poker game. It only picks up pairs and three of a kinds. I am having a problem with finding pairs and three of a kinds. It also will at times give you two cards of the same suit and face value. Please help!
This was my first real program, it was an assignment for uni subject Programming Principles One. This is just a simple text based game of the casino game.
A short C program to solve the Hi-Q peg solitaire variant with 15 holes and 14 pegs arranged in a triangle. Very simple and FAST! Instructive example of bit manipulation and recursion.
This is a cool Queen problem solver. The object of the game is to place queens on a chess board so that none of them are in check. For example, on an 8x8 board, you are suposed to be able to put 8 queens on the board so that none of them are in check. Hard? Well not for this program. It finds all 92 solutions! Check it out!
Puzzles is Turbo C graphics source code for puzzle program. u can choose diff. levels,Timed game,Save or restore the game. uses built in functions (graphics.h).
This is my vastly improved Poker program. It is less buggy, has AI, gives the player advice, stores W/L record, gives you the option to bet, and is more documented.
First off, this was developed in Dev c++ 4.9.9.0, but it should work on any compiler because I made any non-standard functions myself (though it currently only runs on Windows). This is a color, ASCII based RPG game. It is still in the earlier stages of developments and I am sure there are plenty of mistakes in the current code. Please send me a message with any errors, suggestions, or comments! It is much appreciated!
A PingPong game. Most of us are familiar with what it is. Its a 1 player game. Quite easy to play. Basic controls are the arrow keys. You can use Esc Key to exit at any point of game. I coded this when I was learing C++. Please see my codes & help file for further details.
This programm run in C++ (DOS) and you have many functions (include graphics and sound). The words has been saved in file date.lib (one word in a line (row) and no repeat. You can modify the list of words anytime simple add or erase new/old word in date.lib (simple edit)
If you have ever seen the TI83+ game that comes in the Puzzle Pack called PEGS this is basicly the same game. It has a few improvements (like color and a few new levels) but also has all of the original levels.
This is a vary small game based on the classic pang idea. I wrote it one year before. After 3 days of studing nehe's openGL tutorials i wanted to whrite something so i made this.It was not something hard to do but it was fun.
Polemos is a DOS style RTS(strategy) game. You can choose from 7 medieval civilizations or create your own. You create an army, research upgrades at a blacksmith, advance through ages, and get a new soldier type with each age. You also can forge alliances and choose which leader you will rise by. Each civilization and leader has their own benefits to you. You choose from several victory conditions.
This is a Texas Holdem simulator that computes the odds of winning, losing, and tying in a two-player game. A table of the output can be found at http://www.coolgroups.com/poker/.
This game tutorial is made for the beginner. This is a console game. No graphic and no sound. But this is good for the beginner. Also tutorial article include.
This code shows you how to build a room system including: add/drop items, description and more than 4 possible directions. All the data is readed from a file.
This is the game that is a combination of all the things one needs to know in C++. In addition it has great menu. And the one feature that is in my sense the most happening is it plays background music yes "background" i.e. while playing game the music keeps on playing. It also teaches you much about graphics in C++.
This game is called "Space Marine" that I completed in one of my C++ Advanced classes while in college. I want to give proper credit and recognition to the original creator/designer of this game - Mark Kunka. I am submitting this code for my reference and so that others can learn the various features built into this game. Hope you enjoy!
This program can be used to generate Sudoku puzzles of required difficulty level and solve any sudoku puzzle. The program has a good outlook without using any graphic functions.
it is the traditional game of snake in which the snake has to eat the food.it has both singla and multiplayer instructions and is complete with a menu. perfect for projects.well i made this with my friend pranav and he also gets a lot of credit for creating this game.
it is the game of snake, wich i enjoy a lot playing on my mobile, now on my pc too, this game i coded, in my first year of college, hope u people out there, like it, plz leave some comments !!!
This is a game run in the console that displays falling letters which represent bombs falling from the sky to destroy your land at the bottom. You have to fire missles at the letters by pressing the key that corresponds with the falling letter. I wrote this in 2002 and It's based upon a much older game that came out eons ago though im not sure what it was called.
This code generates an array of 4x4 size including numbers from 1-15 and one empty box.You have to arrenge these numbers in assending order i.e. in rowwise manner.
My code is a College Programing Class Project. It tries to create, solve and expose a Sudoku table. It is not finished yet but could give you a great point of view to start your own sudoku project.
solves a sudoku grid of any level... programmed in c++, it uses a well optimised backtracking algorithm, thus solving even the most difficult sudoku grid in 1 or 2 seconds... the code is self explainatory... check it out
This is a revised version of Asmodeus19's slot machine. The new code allows you to bet on the slot machine. It also now has multiple slots for you to save your game in. **PLEASE NOTE!!! ORIGINAL CODING IS BY ASMODEUS19! I ADDED SOME THINGS TO MAKE THE PROGRAM BETTER**
This program uses Hook's spring law and the Euler integrator to simulate a spring that has a ball attatched to one end and the other end of the spring is attatched to the mouse.
Mega-Advanced Nibbles game for C++. Uses DirectX for video. Has many features, including laser beams, different doors, fireballs, 4 player support, and an internal level editor, with the option to create your own level packs & play them. There is no exe here, but if you cant get it to compile and want one e-mail me.
Ok, here's a simple space game for you to play with. It's quite addictive (I think) and its got some comic sound effects. Its not supposed to be a true clone, I wrote it as an example of writing simple DirectX applications, so it uses DirectDraw, DirectSound and DirectInput. The ending is quite funny (but slightly tacky). The code is well commented and quite easy to read, that was the idea. Please vote for this app. It takes a while to load the images and sound files on some computers. So if the screen is blank for a long time, just wait a little longer, it most probably hasn't crashed. Due to a 500 server error when I try to upload the file, I've put the data files from the game here: http://www.geocities.com/nozza_prog/sg1.zip
This is an EARLY version of my 3D Engine, and little lighting demo to demonstrate it (the lighting demo stinks, its the Engine's code you should be interested in). Please check out the Engine's code (everything but console.cpp), and e-mail me at ShiningKnight7@hotmail.com, to tell me what you think about it so far, and where improvements can be made, and what else you would like to see. Thanks.
This is another Snake game we all know so well from de Nokia cell phone. But you should also know that it wasn't originally developed by Nokia. Actually it was made on a mainframe before my time:)
This is a game that uses GDI to present a game of snake by filling rectangles. Very very basic functionality; the game starts as soon as the program loads.
The program Singleplayer Scriptable Stroll (SSS) allows any person with half a head to create a large universe with customized rooms, characters, commands, and events. So far, I have only explored the possibilities of this slick yet highly customizable and expandable interface in the gaming section, but I would imagine that many teachers would find uses for this program. There are no limits when you create your own game in a matter of minutes. A large guide on scripting the SSS world is included for the interested.
SnakeTron is a fun game for two or more human players. Players are given control of a Snake that grows when it eats apples, in exactly the same manner as every Snake/Nibbles clone. There are, however, other goals. Exact details of gameplay are in the readme file. Actual game options are set up from code right now, but future versions will include menus for setup, etc.
This is a simple game I made and this is the first time I uploaded a game. You must get all 3 pairs of character and I include the function for showing/hiding the text cursor.
This code runs a normal window in fullscreen and change your resulution. It draws a chess field with all figures, you can move all figures, but chess rules are only included for pawns, so you cant really play with this. It just shows how to print bitmaps, calculate field positions and coords etc.
It is a casino game made entirely by me. A good game to play when you get tired of solatare. Keeps a highscore.has a little built in pacman type game. Really fun to play for hours and hours. The graphics were done by my friend Mylien and Johnathan helped on designing the layout. Code done my me in codewarrior.
This code is just to solidify what i know of programming so far, the structure of a program, most everything basic. Just to clairify this is a text game rpg.
This is another simple snake game. There are many versions of this game on the site, but I think that one more is not bad. In addiction, you can also see the top10 of the game. The game asks you if you want the score to be added to the top10. In this way you can see the top10 list. Comments are in italian language, and so are the text on the screen of the game, I'm sorry for this, but it was a game written for school. If you need a translation just mail me. Hope you enjoy studying it.
SpaceWar is a simple program that I wrote in the September of my senior year at high school to learn how to program for windows with C++. It's basically your traditional game of space combat in beautifully rendered vector graphics and played to brillaintly harmonious MIDI masterpieces. SpaceWar provides support for up to four players at once on the same computer and sports a variety of different modes of play.
Start making ur own games.A VERY SIMPLE application of GRAPHICS,SOUND,MOUSE PROGRAMMING using REGISTER & INTERRUPT concepts and SIMPLEST GEOMETRY CONCEPT.
Super Penguin Bros. is a game written in C++ with OpenGL and Glut. It's in a very early development stage but shows the basics of starting to program in OpenGL. You can use < and > to move tux, but he cannot jump yet. You MUST HAVE GLUT for this game to work, I used glut to allow me to port the game easily as well as code it quickly. Glut can be obtained at http://www.opengl.org/developers/documentation/glut.html . It has been tested and works with Windows and Mandrake Linux on many compiliers, but should work with any operating system that supports OpenGL and GLUT. There are basic compiling instructions in the README if you have any trouble. If you're interested in contributing, email me, any help will be appreciated considering I'm very busy.
Snake game . same as you played on your cell phones , but this one has some really good effects and graphics ,fast, smooth and flicker free animations made in 16 bit msdos .
My code is a state capital guessing game. The game can be played with one or two players. The object of the game is to guess all fifty capitals. The game keeps track of how many answers are correct and incorrect. I also added a flag using bool for correct answers. This way it will not ask the same question over.
This is an excellent code for all those wishing to enter game programming.This is a simple snake game program with the simplest code possible. No tough graphic stuff or code stuff.Must for novice programmers.Press q to quit the game.
This game is to arrange the numbers in order of their value (increasing order). Initially numbers will be shuffled when game starts. The user has to arrange the game so that all the numbers are in ascending order.
Space Mines, is a DOS simulation. You are the newly elected leader of a mineing colony and must do your best to keep your workers happy and the money comeing in, dureing your 10 year campeign.
Play tic tac toe. IT does not have a computer player or network support at this time, so you either play against yourself or someone sitting at the computer with you.
Shellsok is a text-based sokoban game. I have programmed this game in VC++, GNU GCC (G++), and java. I did this to learn and show others how one might go about porting code to different platforms. It compiles in VC++, Linux g++, and java.
I'm currently tinkering around with the idea of making a massively multiplayer space warfare/trading game. In the past, I've used sprites and DirectDraw to do all my 2D game projects, but DirectDraw is being phased out and was rather inconvienent (if you wanted a rotating sprite, you'd have to get lots of pictures of the same object and flip them). What a pain. Recently I've started messing around with OpenGL (IMHO a much nicer API than DirectX) and I wrote this demo to explore the orthographic projection, which can be used to do 2D graphics at 3D speed (ironically, this is often much faster). Not that all the game objects have to be 2D, as the big rotating planet in the background demonstrates. For more code visit my site at http://www.stanford.edu/~jjshed/coding
This is a nice game. The PC controls a spaceship and you control the other. The purpose is to hit the enemy spaceship 10 times before it does so to you. The source code is small (160 lines) and very effective, with a good and tricky AI. Enjoy!
This is a nice fighting game where you use differnt kinds of swords and armors. It is a very nice and easy code what I composed after only one week of c++ experience. It has more than 1900 lines of code!!!
A slot machine program I made in my third week of programming. It's kind of bare, but it's a good program. I went back through it and cleaned it up some by adding color and what not. I just made the look a little nicer. *Works but doesn't look right in Windows 95/98* If you could vote or leave a little feedback on what you thought I'd be very appreciative. Thanks, Ashley P.
This is the better version of a game I made before. You are a young and skilled swordsman, can buy armors, swords and have to fight lots of opponents. Some bugs are fixed, and I added comments for all those who want to study my code.
The second version of a nice action game where you are a young skilled man with swords and armors. It has almost 2000 lines of code!!! I fixed some bugs and commenteted the code for those who want to study it
This is a relatively simple text-based battle game in which you can play against another human or the computer on 5 levels of difficulty. There is also a high-score file. Demonstrates the basics of C++.
The common snake-like game. This is written using API only (no MFC) with a simple graphic. In a next version I'll insert color picker and other interesting options.
This is a simple rpg engine that alows a user to modify attributes and to choose a monster to fight.Once chosen the user and the monster take turns rolling a dice and seeing if they hit and for how much until one person is dead.
This is an example of how to implement a tile based game. This example uses Win32 API for the drawing of the graphics (no directx or opengl). I will be adding new features as well as wrapping this project into a full-fledged open source game as time permits. Feedback is greatly appreciated, as are votes. I hope that some of you out there learn a few things about tile-based games from this example. I heavily commented the actual game, however I did not comment the map editor much. Most of the code in the map editor is self-explainitory and after you read through the source of the game, I am sure you will follow it just fine. Let me know what you think :)
This is the first GDI game i wrote. It's a little more than half of a year back. Soon a year. It was first written mostly C-style, but then i sat converted large parts of the code to classes and stuff. There's a whole bunch of stuff that i could have done better, but i'm to lazy to fix it now. The game also shows movement according to time rather than loop speed. So that no mather the FPS everything moves according to time. This is implemented very basic, so if you get a to low FPS, then a shot for example can move through stuff, because the way it moves isn't calculated. Only the place that it is, and where it is going to be. A little hard to explain. Well, anyway, the GFX and SFX's are included. Have fun :D
Shows how to load a .raw file and create a brute force terrain from it. Thanks to Trent Polack for writing "3D terrain programming", so that i could learn how to do this. This just goes to show how simple SDL makes it for programming with opengl, expect to see alot more demos in the future by me ;)
basically a snake but there's an enemy that will attack you, eat the food or just move around the screen. this is my second program..i want to receive comments on how to make this program better...especially on how to use pointers on this program...
This is just a simple blackjack game I put together in a few days. I do have more things to do such as allow splitting and doubling. I also plan to make it a GUI later. Tell me what you think about it. If you have any suggestions whatsoever let me know too.....I enjoy input from other coders.
THIS IS A THIRD PERSON SHOOTING GAME MADE IN C++. HAS SOME GOOD GRAPHICS AND REAL LIFE SIMULATION OF THE SHOOTER, THE CONTRA MAN. SEE SCREENSHOT. I MAY PUT DOUBLE BUFFERING IN THE NEXT VERSION.
THIS IS A STRATEGY GAME. SO MANY OPTIONS. LITTLE GRFAPHICS THOUGH IT'S STILL INCOMPLETE. PLAY AGAINST THE GREAT AI AND WIN BY CONQUERING ALL THE EMPIRES OF THE AI
Shows you how to use the win32 console functions and what kind of great things you can do into the console. Perfect for beginners who wants to learn Game Programming!
This is a pretty simple, pretty well commented snake game which demonstrates how to use the ncurses libary, as well as handling arguments under a UNIX-like environment, like Linux. Should work on about all Linux systems.
this was originally a project for class. the purpose was to make a dynamic 3d array that would track movement about the grid. After turning it in me and a classmate started playing with colors. This lead to writing a header file for easier coding. The header includes functions for coloring whole blocks of text or randomly coloring each letter in a string.
this is game somewat like pocket tanks. improvises concept of 2-d transformations. plz. report bugs. if ne. i know one bug. but u wud have 2 find it out urself. n plz. rate the code.
it is a classic game of tennis where two paddles are on either side and the ball needs to be kept inside the screen.as soon as it moves out the pther player wins. it is a typical project programme.
"Delusional Episode 1: Enter the Jungle" is a text-based console adventure game with some cool features, including Colour and Sound (beeps from PC's internal speaker).
This is a simple TTT[Tic Tac Toe] game played by two players.In which we have to enter two inputs for each players which will store your initial letter at that array location.In this game 3x3 size matrix is used and you have to make any straight or diagonally letters of your initial letters.
There are 5 levels.Level 1 and 5 have 1 question each where as level 2,3 and 4 have 5 questions each.Play and win the maximum amount i.e Rs. 3,00,00,000(638300$).You can also add a question,modify,delete or read the questions provided you know the password.If you do go the the administrator's meny from the menu and do so if you want ...a game by ankit choudhary.
This is Texas-Holdem Poker. It is console-based written in the C++ language allowing the player to VS. the computer. If you find any bugs, please report them to me at armond.sarkisian@gmail.com. Thank you!
plays the tic tac toe game with the user... programmed in c++, it uses a simple logic which can be easily understood from the code... it is also highly interactive and scoring logic has been implemented in the program...
This is one of my best projects so far. TIC TAC TOE as you know it is by far one of the most entertaining games so far. My game incorporates a very high level of artificial intelligence in it by means of recursive data structures, thus making it impossible for the user to win. Multiplayer mode is also available. The most interesting feature of this game is if you get stuck, pressing B(while in A.I. Assistance mode) lets you make the best possible move, which saves you most of the times. Happy Gaming
A menu lets you choose between 4 games to play - Tetris, Snake, Space Impact and Galaxian. There's a music engine running as you play. Only Tetris is playable initially, and scoring certain points in each game, unlocks the next. Plus there's a password system to save your high score and unlock status. Supports mouse and keyboard inputs.
The code is kind of messy, but here is what it does. It will create a floating button on the screen, to close it you have to click it, but here is the catch, it will move whenever you put your mouse over it (or within 20 pixels of any side of it).
Okay, this is old code which I wrote using OpenGL long, long ago. But for aspiring graphics programmers, this can actuall be something. It is a normal tetris game which has a glitch that messes the thing up after three blocks land on top of each other. I probably can fix it, but might just wait and do it later. The purpose of this is to show newbies how to make a small game engine... Just enjoy it and try to learn something =)
A tetris like TetrisPz. The board has effects like rotations and zoom. Does not work on Windows 2000 (i made it few years ago) ! Can be played at 2 (if you recompile). If you like it (or use the code), thanks to vote for me :o)
I have rewritten this little Tic Tac Toe program to include the different levels of beginner and intermediate. I didn't have enough time to write the code for the advanced level so if you play it the program will act as if you are a beginner. The code for the intermediate level is quite lengthy so if anyone has an algoritm I can use to make the code more efficient could you please e-mail them to me at tomo999@yahoo.com .... Thanks and enjoy!
This is a funny game I saw on some website and decided to code. The goal is to move a point into a triangle, and it's harder than it looks. My first inroads into MFC, and it's been OK so far - as long as one stays away from AppWizard. So, if you want to get a simple introduction to plain-vanilla MFC, check it out.
It was an excercise for my first c++ programming course. The instructor was claiming that this program will be the most difficult assignment throughout the semester. I was able to do it, and I really enjoyed doing that. This program is a basic text mode tic tac toe board for 2 human players, I don't know yet how to develop computer intelligence, so for now the computer player(AI) is in development...Maybe the next revision of the game will have the AI feature.. maybe :)
This code is a basic TIC TAC TOE game. It is 2 players only at the moment. There is a new version coming. If you have suggestions for the next product send us at sR_ReD@attbi.com with TIC in the subject line. Thanks a bunch for checking this program out and please vote for it...
This is an awesome casino game! Everybody should try it out! There are are about 5 or 6 games you can play,including slots, blackjack, and roulette. There is also a bar to drink away the lonely hours of the night. There shouldn't be any bugs, but if you find any, e-mail me at hulio_@hotmail.com, with the subject TEXT_CASINO and I'll fix and update the code. By the way, don't forget to vote for this awesome Casino game!
If you code any openGL or directX programming, and you needed the user to input info, you knwo that CIN does not work in win32! Wish it did. My code allows the user to type in text and see it on the screen and after they press enter, you can manipulate the text as you wish. Right now i have it running like a dos prompt. Please note this uses openGL code, if you want to use it for directX, you will need to modify it yourself.
Fun game to play. Three different difficulty levels. First level the computer is random. Second and third levels, computer has defense against user strategies. Third level, computer also has basic offensive skills.
This is a Simple TicTacToe game in which Computer plays against you. The Computer is really unbeatable. It is a simple game though. Please give me your comments.
Its a 2 player game plus graphics designed in C++ with mouse programming. One player plays with the left mouse button and another with a right mouse button. (Be patience because it takes a little time to start). Have any suggestions e-mail me :)
This is the update of my previous submission. Now the animations runs faster and the graphics are sharp than before. It takes just 2 hours of amendment. Must look this. I will soon try to develop it as Player vs computer. If you like it vote it...:)
This is a windows tic tac toe simulator. You can either play against the program or watch a simulated game. The AI is great. Enjoy. (Pls. don't forget to vote.... :)
A Tic Tac Toe coded in using VC++ MFC. It have a learning ability which will become stronger if u keep playing with it. It learn the moves u used against him and use it back against u. It uses file 'MoveHis.txt' to record the moves, delete this file will make it dump again.
This a simple TicTacToe game with graphical interface and very easy logic. It has tow level "Easy" and "Hard". Use this code only for education purpose.
My code is close to that puzzle game everybody knows as Tetris. I made it as a test to my current knowledge of C++. I also made it, because my friend asked me too.
this code is a simple demonstration of arrays.It is a game where u move a man,'X', north, south, east, and west trying to not step on the mines and get to the end.
The Warlock v0.9 ALPHA features a turn based text game in which you cast spells and absorb damage by a dragon with unique abilities. It is written for DOS and currently even supports text in different colors. This is one of my first ever completed C++ programs and would appreciate some constructive critism about the code. Also note that I am no longer updating or fixing the code, inparticular features do not work and there are some minor bugs that I could not fix.
I must admit this game isnt really impressive. if u still think its cool, gimme feedback. if u think it sux, gimme feedback. oh yeah, one cool thing is that this is coded in VC++ and i used some obselete functions using (gotoxy, textcolor, textbackground, sleep, etc)using Consola.h . These functions are unsupported in VC++ by default.
A version of Tic Tac Toe with an intresting twist. 9 Tic Tac Toe boards laied out to form 1 big one. You must win the small game in order to win the square in the big board. You can bounce around, it is a game that was played by hand in my comp sci class. Uses SDL libard for graphics, I am still working on it and am planning on releasing anoter version fairly soon with font mapping.
A implemented, modified, free ads version of "Tactics and strategy of the war", commonly known as RISK. Compile it using Borland Builder 6.0. Please rate this! Send some feedback! Say thanks!
This is a 3-Dimensional Tic-Tac-Toe game. It implements a simple artificial intelligence and also contains a class that can be used to change the color of text when output to the console. Have fun!
I made this game as a test program for a basic 2-player game. No graphics, but character representations of objects. I'm continuing to make it better. Comments could be appretiated.
This is a tictactoe game. It supports player vs computer and player vs player. You can also choose to first or second. The computer AI is unbeatable (should be, anyways).
This article is all you need to learn the basics of game development. It will teach you how to use variables, how to manipulate strings, how to read user input, and how to build the basics of a multiplayer game.
This is quite definitely the best TicTacToe game ever made, it comes with 2 levels of difficulty. My coding will sincerely blow you away. Honestly, if you don't download this game you will regret it.
This code is a graphical version of TicTacToe which makes uses of C++ classes. It allows for single or multi-player play (hot seat). It has been tested in both Dev-C++ and Microsoft Visual C++ 6.0 Project files for both compilers have been included.
This simple pong clone that write in C++ with Win32. It is really easy to understand and include "off-screen technique" to avoid flicking graphic render. Please check my website for more information: http://www.aprogrammer.com/index.php?topic=15.0
I did this for a windows programming assignment. It has some minor issues and i left off at four shapes because it was just consuming way too much of my time. With the end of semester approaching and final project to starts there came the point where i had to shelve it and move on. It compiles and runs fine. It's written in pure win32 api, no mfc. Very modularlized (the WM_PAINT is like 20 lines) so it's pretty easy to decipher, code is pretty clean i think. Maybe someone can add to it or finish it off... It'll actually be a pretty cool Tetris game with a little more work.
A windows version of Eliza that can load customizable scripts. This program will try it's best to have a sensible and not-too boring conversation with you. The source code demonstrates loading (and saving) external document formats in MFC.
This is a little game I created that can be fairly simple or extremely hard. A word is shown scrambled, and you have to figure out the word. Comes with one easy one player game and is also designed for two players. There is one word which has two possible answers. Either is correct. The game is another good example of using the Dialog Box Template Resource in Microsoft Visual C++, Subclassing Child Controls and comparing strings disregarding case. If you would like my Dos version of this game which includes Easy, Medium and Hard choices and two player - vote and email me. =D
An almost-exact replica of the minesweeper game that comes with all windows systems. 3 modes of difficulty, a timer, and more. Uses the Win32 API with functions such as SetTimer, BitBlt, SelectObject, and CreateWindow used to create a classic. It is not very well commented, but the code is basic so it shouldn't be a problem. Uses recurion to open blank spaces, and uses resource files to store the graphics. Uses VC++ 6.0.
This program is a follow-up on my previous submission (WinEliza). Besides using the Standard Template Library (STL) containers, streams, and strings, this version also takes advantage of Microsoft SAPI 4.0 to play actual speech.
I know most of you are tired of half finished rpg engines :P but this is my first real work worth showing, and i took this at a little different approach than the other text based rpg engines than others. This code is a working RPG engine. It loads maps, and has automatic collision detection for extremly easy. Battles are about 1/4 worked out, feel free to add to them. Also: make sure to have map.dat and battle.dat in the same dir as the .cpp . About map loading: i had one hell of a problem with this, but finnaly got it to work, basically just open map.dat and edit it, i suggest EDIT, not notepad. But beware, remove all end of line characters, otherwise it screws up, incredibly, i suggest using a hex editor and looking for '10 13' and removing it, at least thats what i did. If you have any ideaas on how i would be able to change the map on a specific spot on the map, please tell and i will try to add it. ALL comments are appreciated, except for "OMFG THIS SUCKS" etc.., if you dont like please say why. Kthx.
i am in the prosses of building my oawn game and this is going to be the main tool for the maps im building it is done in openGL and MFC and has a simlar lay out as 3ds max but it is by no means done yet
It is a game based on the triangular puzzles they sell at puzzle stores. The object is to skip one pin over another, removing the pin in the middle, and be left with only 1 pin.
This is pure Win32 API program. NO MFC. This is a game resembling the real game. I have modified the jokers 25/75, 50/50, 0/100. The first eliminates one wrong answer, the second - two, and the 0/100 removes ALL the wrong answers. Includes a system not to repeat questions in other played games. The program supports a log file while playing, high score list and many more. But it hasn't got any sounds which I'll soon fix. The questions are kept in a Microsoft Access Database in 15 tables but they are in Bulgarian. I translated only the strings used in the game in English, not the questions but you'll write your own. This database is actually the file data.rad(You can rname it to assure). That's it. Enjoy and vote for me ! NOTE: The Win98 bug is corrected thanks to AJ.
This is a simple wall street stock trading simulator. However it is incomplete due to lack of time, resulting in lack of interest. The Functions to buy and sell the stocks are left empty so you can finish the game yourself. I also left out the random number generator for generating the stocks worth and just used the primary one featured in VC++ to show users how computers tend to generate the same numbers, I figured it just be a fun little learning experiance for newbies. Have Fun!
This is a game that uses cursor navigation functions in the console to create an adventure game out of ASCII characters. I wrote this game in 2003 as an addition to Space Master 5000. To escape, navigate your X through an ancient tomb of four levels full of monsters and traps. Have fun.
This XOX game (also known as "Go Moku") is tons of fun. It is an excellent example of using windows sockets for network communication. It shows you how to set up a server to listen for a connection, connect to a remote socket listening for connections, send and receive data, and more. If you ever wanted to know anything about using sockets, you must look at this. It also shows you a bit of simple game programming. It is a very helpful lot of code I think.
This is a XiangQi (chinese chess) game coded using VC++. This program have a nice GUI, User can have unlimited chances of undo and can select which side to start. Welcome to try it out!
A logic game in C/C++ where you have to keep your balls greater in number than you opponent. Make a colony of your balls and you will end up with nice statistics.
A single player puzzle game. Arrange all boxes from the right board to the left board such that each box's left and right & top and bottom entries match with its adjacent ones.
A cool 2 player shooting game that you play in Microsoft (R) Notepad. It suprisingly works. Try it and vote and/or comment on it. Tell me if it needs work. The controls are simple:
The point of the game is to catch the apples as the fall from the sky. Catch 10 to win. The controls are simple. Left Arrow - Move Left, Right Arrow - Move Right, Escape Key - Quit. Please vote for it and/or comment on it if you can.
A fun little game with GDI graphics. Try to catch the apples as they fall from the sky. See screeshot. Miss 10 and you lose. Code is useful for first time game programmers. Vote and/or comment on it if you can.
version 2.0 . this is a game that based on famous galaga style game galaxian. you have to destroy waves of enemys that are trying to destroy the earth. you are playing as a spaceship that is shooting on alien's evel ships. But they can protect of themselves and trying to destroy you in different interesting ways. so go out, pilot, and safe the earth!! good luck and huf, i am sure you will.
This is a classical game of Ping-Pong, but with many improvements. You can play against a PC with 5 different skill levels or against a friend. You also have a lot of options. For example you can change the speed of the game, the score limit, you can choose a two-ball game (you will play with two ping-pong balls instead of one) or you can choose wether the PC will assist you in hitting the ball. The scoring goes as follows: if the ball hits a player's margin of the screen, the other player's score increases. The player that first reaches the score limit wins. Enjoy!
It's a "Space Invaders" style game. The game is quiet fun to play. Its one of the best projects I have ever made. It has three levels and a intresting main boss that I have named "Diablo". The game was made using Oject Oriented Concepts, so you will see a lot of .cpp file containing class definitions. Play the game and enjoy.
This game allows you to play Nokia's OPPOSITE (8 * 8). Although this is just a 4 * 4 game, it supports single and multiplayer level gaming and has some cool options to choose from.
A traditional puzzle game for kids where you have to arrange squares in order. There are 3 levels in this game. Every move you make will cost you 10 points. If you're score go 0, the game will automatically end. If you finish a level, it will automatically take you into the next level for a more challenging and exciting game.
Trader is a space exploration / trading game. Once you reach the limit of 20000 credits, you win. It is a fairly simple game as of now, but it may appeal to you if you like fantasy trading games. Please vote or give me some feedback, so I can get some more advanced features, such as warping to different galaxies and maybe some enemy traders for players to face off against.
This is a game called "DOTS". The purpose is to connect the matrix of dots with vertical and horizontal lines and make boxes. The player with the most boxes wins.
You play a game of TIC-TAC-TOE in single player and multiplayer mode. Three levels of difficulty and interesting menus. The HARD level is INVINCIBLE!!! REALY INVINCIBLE!!! It is much better than lots of TIC-TAC-TOES on this site. Believe me!!!
Another tic-tac-toe...I don't use gotoxy() to put the 'pawns' on the gameboard and you don't have to put row and column to make a move: just select the position with the appropriate number.
A cool game that is made in Turbo C++. Your objective is to save Mrs. Smiley from Happy Devil's mines, lasers and bubbles. This code shows that you can make a nice looking game without using the graphics.h library.