Results for "Category: Games"
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
RPG using only ascii drawings, uses text files, its very basic, but works
This is a slide puzzle game done totally in C# .Net. The idea of the game is to load any image file and then cut the image into square tiles in accordance with the selected dimensions (Available options: 3X3, 4X4 and 5X5). The user then shuffles the tiles, after doing so the last tile of the picture is erased to give space to a blank tile so that the tiles can be moved and rearranged to the initial arrangement. If the user arranges the tiles correctly he/she will be “CONGRATULATED” and the last tile will be replaced back. The user can use either Keyboard arrow keys or the mouse to move the tiles after shuffling. I hope you will enjoy the game !! :))
This is a slide puzzle game done totally in Visual Basic .Net. The idea of the game is to load any image file and then cut the image into square tiles in accordance with the selected dimensions (Available options: 3 x 3, 4 x 4 and 5 x 5). The user then shuffles the tiles, after doing so the last tile of the picture is erased to give space to a blank tile so that the tiles can be moved and rearranged to the initial arrangement. If the user arranges the tiles correctly he/she will be “CONGRATULATED” and the last tile will be replaced back. The user can use either Keyboard arrow keys or the mouse to move the tiles after shuffling process is done. Actually I already submitted a similar program written totally in C# . Net, a friend of mine asked me if I could do the same program in Visual Basic .Net, so I did and here it is. I hope you will enjoy the game !! :)
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. Thanks... ENJOY Regards, { pHroZeN GeeK }
Gives the user, a list of questions and possible answers. Once submitted it displays the users answers and indicates if they were correct or not.
It's my first DirectDraw powered game
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.
A Boggle game written completely in .Net. Shows use of graphics, data handling, class collections, user controls, and much more. I also think its pretty fun! I would love feedback on this.
Black Jack Game Win32 console application, read the code it is well documented. Special thanks to Joe Spencer who encouraged us to submit work to this site.
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 is my version of the game Who Wants To Be A Millionaire based on the TV series gameshow. It shows an example where "goto" actually makes programming similar to this more simple if you already have a lot of defined functions. Also, by using goto in this code, it avoids problems in compilation with the delay function. Great example for beginners of using nested if statements and declaring and defining functions and using arrays to make programming more simple.
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.
Its a traditional and very popular board game in pakistan and u will really enjoy to play this game.I have added a very good menue in this game. If u like the graphics and the game then please rate this code
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. Constructive critisms would be great to help me learn, but any one posting to tell me my games pointless, etc don't bother.
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 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. Systems Included In Package 1: Advanced Window System (Kernel Internal) Advanced Window System (Kernel External) Deprecation System Error System Log System Math System (Updated) Memory Controller Registry System Resource System Resource Creator Sound System String Files Timer System Version System This took me a long time to create and put together. If you like it or find it useful, please leave a comment and vote. It will be appreciated a lot. Thank You. Hope You Like This Package! -James-
the game of brick inspired frmmr ali akbar
Basic black jack program. Ive studied C++ for about 10 hours and this is my first project. Its simple, I hope you enjoy it
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