![]() |
| | #76 |
| Registered User Join Date: Nov 2006 Location: Lurking about
Posts: 212
| Snake clone So, heres a nice little snake game. Arrow keys are to turn. F increases speed and S decreases. Operating system: XP SP2 Compiler: Code::Blocks Graphics Library: OGL Other Libraries: Vector and Time, but I think those are standard. http://www.opticalmusic.net/Snake.zip Sorry, the code is probably hard to read, I had some of it commented, but then just decided to strip them all. If I get a chance I'll go back and add them all. Let me know what you think.
__________________ If you take something apart and put it back together enough times, you will eventually have enough parts left over to build a second one. Last edited by IdioticCreation; 04-22-2007 at 09:14 PM. |
| IdioticCreation is offline | |
| | #77 |
| Its hard... But im here Join Date: Apr 2005 Location: England
Posts: 1,466
| Good snake clone. I think your code format is good, and you are right, a few comments could help in certain places. But i managed to run it ok using Visual Studio and I liked it a lot. Kepp up the good work
__________________ I'm just trying to be a better person - My Name Is Earl |
| swgh is offline | |
| | #78 |
| Registered User Join Date: Apr 2007
Posts: 4
| NOTE: if your screen resolution is not 1024 x 768, things might be a bit odd.... I plan to work on this ![]() good game dude, |
| artoke is offline | |
| | #79 |
| Registered User Join Date: Dec 2006 Location: Scranton, Pa
Posts: 221
| Game worked well and your code is alot neater than my own. Oh, and do I suck at this game! |
| Oldman47 is offline | |
| | #80 |
| Registered User Join Date: May 2007
Posts: 21
| I finally finished my first game. It isn't perfect, but it runs and I think it is cool. You can see the instructions after opening the game. If you can tell me how to get a .zip or .exe file on this forums please tell me! guessgame.cpp |
| shadowsora15 is offline | |
| | #81 |
| Registered User Join Date: Nov 2006 Location: Lurking about
Posts: 212
| Looks good and runs good. Your code is well organized, but you didn't indent some places. Like after your "do" statement you didn't indent. It's easier to read when you use proper indention.
__________________ If you take something apart and put it back together enough times, you will eventually have enough parts left over to build a second one. |
| IdioticCreation is offline | |
| | #82 |
| Registered User Join Date: May 2007
Posts: 5
| I tried my hand on a simply little dice today and this is the result: A small game for 1-2 players with the goal to reach a user set score first without getting a 1. Compiled on Windows XP with DevC++ 4.9.9.2 Last edited by Venicia; 05-27-2007 at 12:48 PM. Reason: Reworked the code |
| Venicia is offline | |
| | #83 |
| Registered User Join Date: Jun 2005 Location: New York
Posts: 1,465
| Work in progress - fly around in a colorful world and ponder about pixel rasterization for awhile http://en.wikipedia.org/wiki/Rasterisation http://zxcvbn.googlecode.com/svn/trunk/wtltrip/ Graphics library: opengl Other libraries: wtl Compiler: visual studio orcas
__________________ ╔╗╔╦══╦╗╔╦══╦╗ ║╚╝║╔╗║╚╝║╔╗║║ ║╔╗║╠╣║╔╗║╠╣╠╣ ╚╝╚╩╝╚╩╝╚╩╝╚╩╝ codez http://code.google.com/p/zxcvbn/ |
| Tonto is offline | |
| | #84 |
| Chinese pâté Join Date: Jul 2007 Location: Canada
Posts: 406
| This is a simple game where you have to deliver pizzas without running out of gas, crashing into other cars or going out of the road. The original idea of the game is not mine, it was a game i played when i was younger on the macintosh of one of my friend heh. It's the first game i made. And it's written in C (i know i should have choose an object-oriented language but C is the only thing i know really well). Operating system: Windows XP (but i guess it would works on older version) Compiler: MVSC++ 6.0 Graphic library: SDL (if we can call this a graphic library heh) Other library: SDL_TTF Here's the link to the game and source code: http://thepiratebay.org/tor/3742892/...ush_-_Beta.zip And here's a screenshot By the way, the source code and the game are in french, but you need only really basic knowledge to understand (or you can use google language tool). And i also wrote a readme in english. And also, the game isn't in a final version, and i bet it won't ever reach this stage, because i lost somehow the interest in the project. It's still very functional, but i could have make the gameplay better, make better drawings and add sounds, etc... Last edited by foxman; 07-15-2007 at 09:35 AM. |
| foxman is offline | |
| | #85 | |
| Registered User Join Date: Jun 2007 Location: Usa, Pa
Posts: 39
| Quote:
| |
| TylerMoyer is offline | |
| | #86 | |
| Registered User Join Date: Jun 2007 Location: Usa, Pa
Posts: 39
| Quote:
Lol, I like this game, it made me laugh.. What dog loves wood.. Lol.. You'd think wood would cut his mouth and his Happiness would go down.. Good simulation, I'll suggest this to my friends so they can get a crack out of it as well. | |
| TylerMoyer is offline | |
| | #87 |
| Registered User Join Date: Jun 2005 Location: New York
Posts: 1,465
| The phenomenon exhibited by my application is called Moire Fringes. Learned this from my calculus 3 book ![]() College Mathematics Journal - More Fringes and Conic Sections http://www.jstor.org/view/07468342/di020744/02p0043o/0 You can expect an app demonstrating stuf about them in due time
__________________ ╔╗╔╦══╦╗╔╦══╦╗ ║╚╝║╔╗║╚╝║╔╗║║ ║╔╗║╠╣║╔╗║╠╣╠╣ ╚╝╚╩╝╚╩╝╚╩╝╚╩╝ codez http://code.google.com/p/zxcvbn/ Last edited by Tonto; 10-10-2007 at 08:31 AM. |
| Tonto is offline | |
| | #88 | |
| The larch Join Date: May 2006
Posts: 3,082
| Here's a Tetris clone that runs in the console window. Should be fully playable with 5 difficulty levels, but misses sounds and highscores. Since zip files cannot be uploaded, all the source is in a single cpp file. Operating system: Windows only Compiler: MingW Graphics Library: none Other Libraries: windows.h Description: ordinary Tetris
__________________ I might be wrong. Quote:
| |
| anon is offline | |
| | #89 |
| Registered User Join Date: Nov 2007 Location: Free Country, USA
Posts: 104
| OS: Windows XP SP2 Compiler: Dev-C++ No graphics Libraries: all normal libs Language: C++ Battle Test v 1.0 - A text-based battle game. Acctually, it's a test for the battle system for my real games, but may develop into a full-fledged game. Last edited by DarkAlex; 12-01-2007 at 05:45 PM. |
| DarkAlex is offline | |
| | #90 |
| Enthusiastic Beginner Join Date: Mar 2007 Location: Érd, Hungary
Posts: 20
| Operating system: 32-bit Windows Compiler: Dev-C++ & mingw Graphics Library: none Other Libraries: Description: Hangman I have made a simple hangman game - my first program, not counting exercises in various tutorials. I would very much like to hear your opinion about it - I know there is a lot to be improved. And please no 'classes' stuff, because I haven't yet started to study the object-oriented part of C++. Note: please rename data.dat.txt to data.dat Thx Last edited by balazsbotond; 12-08-2007 at 10:48 AM. Reason: additional info added |
| balazsbotond is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Resources for professional games | EVOEx | Game Programming | 8 | 06-17-2009 02:42 PM |
| need help with HTTP POST | Anddos | Networking/Device Communication | 5 | 03-22-2009 08:41 AM |
| Unknown memory leak with linked lists... | RaDeuX | C Programming | 6 | 12-07-2008 04:09 AM |
| Auto POST | vasanth | A Brief History of Cprogramming.com | 10 | 06-07-2003 10:42 AM |