![]() |
| | #1 |
| End Of Line Join Date: Apr 2002
Posts: 6,240
| Post your games here... In this thread you can post games that you've made. Please adhere to the following rules: - All games must be coded using the C or C++ programming languages. - Only one post per game will be allowed. If you update your game, edit the existing post, do not create a new one. If you need to post more than one source file, use a compressed archive, eg ZIP format. - Source code must be provided as an attachment to your post. This forum is primarily here for learning purposes, no one learns to program from an executable! - No linking to off-site hosts, these disappear all too often, and no-one likes a dead link ![]() - Games should be at the "playable" stage of development. This means they don't have to be complete, with all N levels working etc. Instead, the source should compile into something that the user can run and use. - Posts should state the requirements for compiling (or running) the code. That way, people won't have to download something just to find out they can't build it. A suggested minimum is (with examples): Code: Operating system: XP SP1 Compiler: Dev-C++ 4.9.2 Graphics Library: OpenGL 1.2 Other Libraries: Description: Shoot the thribble - Use caution when executing other peoples programs on your computer, and remember to perform a virus scan where appropriate. Cprogramming.com will not be held responsible for damage caused by any programs downloaded from this site. - Posts or code that go against these rules or the forum's guidelines, runs the risk of being deleted without notification. If you have any questions on this matter, feel free to PM me or another moderator. Please do not post questions on this thread. Thanks to GanglyLamb for suggesting this thread. Let's see how it goes...
__________________ When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code] |
| Hammer is offline | |
| | #2 |
| Pursuing knowledge Join Date: Jun 2002
Posts: 1,916
| Tic Tac Toe I guess I'll get the first post on the new sticky with my Tic Tac Toe game. It's very basic and was made with WinAPI. OS: WinXP (should work with any version) Compiler: MSVC Libraries: WinAPI Code and compiled version included in zip.
__________________ Away. |
| confuted is offline | |
| | #3 |
| Its not rocket science Join Date: Jan 2002
Posts: 1,686
| Ok though i will add the games i developed.. This one is a chess game For the game to work you have to compulsourly extract the project folder to C:\ drive.. it wont display the images other wise.. The interface is simple drag and drop.. to toggle between 2 player and single player mode use the number 2 button... Code: Operating system: XP SP1 Compiler: Turbo C++ v3.0 Graphics Library: BGI Other Libraries: Turbo C Libraries Description: An AI based Chess game which also has 2 player mode
__________________ http://www.geekpursuit.com Last edited by vasanth; 07-11-2003 at 05:55 AM. |
| vasanth is offline | |
| | #4 |
| Registered User Join Date: Sep 2002
Posts: 124
| Tic Tac Toe Ok, my game is the second Tic Tac Toe game on this board, apparently. I decided to do a little work with AI programming, and this was my choice. You can do a one or two player game, as well. The code is well-commented (in fact, it's probably over-commented at times ) and is probably longer than necessary, but hey, it works.Code: Operating system: Windows XP (Home Edition if it matters) Compiler: Microsoft Visual C++ 6.0 Standard Edition Graphics Library: None, but I guess you could say ASCII art Other Libraries: Description: Tic Tac Toe, what is there to describe? ! |
| harryP is offline | |
| | #5 |
| Registered User Join Date: Mar 2002
Posts: 249
| To download, go here and click download. The current version is 0.6. Alright, here's my game. It's based off of pacman, but not really a "clone" of pacman. It took me two days to write, and two weeks to debug... ![]() Operating system: XP Compiler: MSVC++ Graphics Library: Allegro You can make your own levels too. If you want, send me your creations to monkypower@hotmail.com and I'll put them in my next release (use "pacman" as the title please; I get a lot of spam mail). I'm hoping to clean up alot of the code (yes, it's quite messy) and fix some bugs until then. Also email me and tell me what you think. I hope you like ![]() Here's a screenshot ![]() EDIT: Updated to v.06: - Cleaned up the code a little better and added comments - Fixed "stuck in corner" bug
__________________ Well, there are a few things wrong with your code: 1) It does not work. 2) It does not work. 3) It does not work. Hope this helps. Last edited by funkydude9; 07-27-2003 at 02:30 PM. |
| funkydude9 is offline | |
| | #6 |
| Code Warrior Join Date: Nov 2001
Posts: 669
| Game Title: Asteroids Version: 1.0 Operating System: Win9x, XP Compiler: MSVC++ .NET Graphics Library: Console Description: This game was first made in HC11 assembler for HC11 development board (so that's way there is that frame with keyboard - represents development board). So I decided to write it in C so that is accessible to all of you. The main thing is that you have to avoid asteroids that are coming from right to left. You get more points if you're closer to the right edge of the screen. You start at the left edge of the screen. The game is completed when there is no more asteroids. You lose if you lost all your lifes. Three lifes are available. Enjoy!
__________________ Current projects: 1) User Interface Development Kit (C++) 2) HTML SDK (C++) 3) Classes (C++) 4) INI Editor (Delphi) |
| GaPe is offline | |
| | #7 |
| Registered User Join Date: Sep 2002
Posts: 124
| Maze This is a maze-ish type game I made. You are a smiley face trying to reach the exit of the maze. There are randomly moving monsters skulking about and if you run into them, you die. I'm thinking of doing AI, but I don't know yet. The game also includes an easy-to-use Maze Creator where you use the mouse to make your own mazes (it's easier than using Notepad...trust me on this, I wish I'd made the editor BEFORE I made the sample mazes...). The main menu of the game uses the mouse, too. Code: Operating system: XP Compiler: MSVC++ 6 Graphics Library: ASCII art again :D Other Libraries: None Description: Get through the maze(s) , but once its done its done I guess. Anyways, sorry for the long post. I hope you all enjoy it!Brendan
__________________ Draco dormiens nunquam titallandus. Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html Last edited by harryP; 07-29-2003 at 11:52 AM. |
| harryP is offline | |
| | #8 |
| Registered User Join Date: Jul 2003
Posts: 13
| y goodI made a goofy mistake earlier by posting my silly game a tad predeveloped. *goofy grin* Well, here is the finished version! I know eveyone is dying to try it! ![]() Code: Operating system: Win 98 Compiler: Dev-C++ 4.9.8.1 Graphics Library: Mathimatical symbology :) Other Libraries: Just the local one... Description: A short text adventure! Beware (once again ) of Hammy, the terrible hamster! ![]() Questions, comment, suggestions? Send them to: un_learn@yahoo.com
__________________ "Whether you think that you can, or that you can't, you are usually right." Last edited by sean; 02-27-2005 at 11:36 AM. Reason: Wrong email address |
| Rev. Jack Ed is offline | |
| | #9 |
| Registered User Join Date: Aug 2001
Posts: 411
| Here is an intresting little OpenGL program I wrote for my class. Code is in the zip. Look at the lower left for gameplay tips. Operating system: XP SP1 Compiler: MSVC 6.0 Graphics Library: OpenGL 1.2 Other Libraries: Winmm Description: Dig for the treasure
__________________ www.EberKain.com |
| Eber Kain is offline | |
| | #10 |
| Registered User Join Date: Sep 2002
Posts: 124
| Tanks This is a tiny little demo I made which implements a few features of the CGL. It utilizes blitmaps, sound, sprites, and the mouse. Code: Operating system: XP Compiler: MSVC++ 6 Graphics Library: Console Graphics Library (CGL) Other Libraries: None Description: Blow up the tanks Brendan
__________________ Draco dormiens nunquam titallandus. Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html |
| harryP is offline | |
| | #11 |
| Registered User Join Date: Jul 2002
Posts: 109
| This is a 3d verison of the old game fall down. I've only worked on it for 2 days now but its playable and its features are: Realist pyhics Textured ball and obstacles Tells time it took to get to the end Code: Operating system: WinME Compiler: MSVC++ 6 Graphics Library: OpenGL Other Libraries: None Description: Fall to the end as fast as you can
__________________ int a; don't make a program without it. |
| Josh Kasten is offline | |
| | #12 |
| Registered User Join Date: Nov 2003
Posts: 30
| Defense game ------------------------------------------- Operating system: Windows 98 Compiler: Microsoft Visual C++ Standard Graphics Library: MasterX Description: Defend your base from the attacking armies. ------------------------------------------- Firstly, you can download the game itself at my website. I have released version 1.5, it can be downloaded at: http://www.anticure.com/defense The game (version 1.5) in its entirety, zipped up, is about 6 megs. I noticed I can only "attach" a file that is under 200,000 bytes. So, I know I'm not supposed to link to off-site hosts, but this is being hosted on a private site (not one of the free hosters with crazy bandwidth limts). You can download source for version 1.1 at (1 meg): http://www.anticure.com/defense/CodeRelease110.zip But, if all fails, you can download the LITE version of 1.10, which includes no graphic or levels files below. You will not be able to play the game, however, with the code below alone. ----[Red Haze]--- |
| Red Haze is offline | |
| | #13 |
| 30 Helens Agree Join Date: Jan 2002
Posts: 607
| Code: Operating System: Windows 98/XP Compiler: Dev-C++ Graphics Library: Allegro (4.0?) Description: Click a moving target This is my first and only game to date. You have to click on a target that moves across the screen (more like relocates). The closer to the center of the target, the more points. There are four levels. Each level, the mouse cursor moves slower. I originally wrote this game on Win98, but just tried it on XP and it works fine. The source files are gone =/ sorry. They might be on a backup cd somewhere, but I'm lazy =/. I'm pretty sure this is the finished one. I think there was supposed to be a timer.
__________________ AIM: Neandrake EMAIL: nta0 @ yahoo . com Operating System: Windows XP SP2 Compiler: GCC IDE: Notepad++ Don't give up your freedom to think - www.cognitiveliberty.org Last edited by neandrake; 11-20-2003 at 01:38 PM. |
| neandrake is offline | |
| | #14 |
| Registered User Join Date: Nov 2001
Posts: 38
| Connect4 Operating System: Windows XP (should work on all versions) Compiler: Watcom 11.0 Graphics Library: None (console program) Description: Be the first to get 4 pieces in a row First release. Future version will hopefully be graphical. This is my first step to finally getting the hang of Windows programming after years of DOS. The game is two player only, no AI yet. The goal is to connect four of your pieces in a row vertically, horizontally, or diagonally. Use the left and right arrow keys to move and either the enter key or down arrow to drop your piece. ESC will end your current game, then press ESC again to exit the program. Pretty simple concept and execution. Code commented and fairly easy to follow. Jason |
| Rutabega is offline | |
| | #15 |
| Registered User Join Date: Dec 2001
Posts: 28
| XpChess Xpchess is a little beta, but will be improved, available at: http://eirikn.net/lulf/projs/xpchess-0.5.tar.gz Programmed in C with SDL and SDL_image libraries. It works great in Unix clones, but I haven't been able to make it work in Windows.
__________________ % gcc -v Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.3.3 [FreeBSD] 20031106 |
| PotitKing 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 |