Like Tree2Likes

Post your games here...

This is a discussion on Post your games here... within the Game Programming forums, part of the General Programming Boards category; Purpose of this thread: In this thread you can post games that you've made. Please adhere to the following rules: ...

  1. #1
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Post your games here...

    Purpose of this thread:

    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 or hosted externally. This forum is primarily here for learning purposes, no one learns to program from an executable!

    - If you need to attach multiple files to your post, you cannot use zip files, but you may host it externally on a reliable host. Here are some recommendations for online source code repositories:

    *Bitbucket - Mercurial hosting (Mercurial)
    *Github - Secure source code hosting and collaborative development - GitHub (Git)
    *Launchpad - https://launchpad.net/ (Bazaar)
    *Google Code - Google Code (Mercurial & SVN)
    * Source Forge = Source Forge (Bazaar, CVS, Git, Mercurial, Subversion)

    - 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
    - This thread is not for discussing the games, only listing them. Discussions should be held in other threads in the Game forum, or via PMs if appropriate.

    - 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]

  2. #2
    Pursuing knowledge confuted's Avatar
    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.
    Attached Files Attached Files
    JANASHEE1510 likes this.
    Away.

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    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
    Vasanth
    Attached Files Attached Files
    Last edited by vasanth; 07-11-2003 at 05:55 AM.

  4. #4
    Registered User harryP's Avatar
    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?
    The game should be fully functional. If there ARE any bugs or whatever, please email me at steve_alberto@yahoo.com to let me know. Thanks, and enjoy !
    Attached Files Attached Files

  5. #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
    Last edited by funkydude9; 07-27-2003 at 02:30 PM.
    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.

  6. #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!
    Attached Files Attached Files
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  7. #7
    Registered User harryP's Avatar
    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)
    You can play random mazes or load up your own. Now the only thing about it (sorry this is getting rather lengthy) is where you install it. The mazes are all stored in a folder called 'Mazes' and both the Maze Creator and the game look in here for the mazes, so I had to put in a file that holds the path of this folder. So, when you copy it over to wherever (for example, C:\Program Files), open "Maze2 > Maze2 > directory.ini" and change the path to "C:\\Program Files\\Maze2\\Mazes\\". You need the doubleslashes, and don't forget the two slashes at the end. You'll have to do the same thing under "Maze2 > Maze Creator > Maze Creator > directory.ini". I know it's a bit of pain , but once its done its done I guess. Anyways, sorry for the long post. I hope you all enjoy it!

    Brendan
    Attached Files Attached Files
    Last edited by harryP; 07-29-2003 at 11:52 AM.
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  8. #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
    Attached Files Attached Files
    Last edited by sean; 02-27-2005 at 10:36 AM. Reason: Wrong email address
    "Whether you think that you can, or that you can't, you are usually right."

  9. #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
    Attached Files Attached Files

  10. #10
    Registered User harryP's Avatar
    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
    All you do is wait for a tank to show up on-screen, then quickly try and click it. If you're too slow, you'll miss it. When you click it, you'll hear your tank's gun go off and that'll be followed by an explosion. Try and blow up all 10 tanks and win! Not the most exciting of games, I know...but still...

    Brendan
    Attached Files Attached Files
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  11. #11
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109

    Cool Fall Down 3D

    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
    Attached Files Attached Files
    Sovai likes this.
    int a; don't make a program without it.

  12. #12
    Registered User Red Haze's Avatar
    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]---
    Attached Files Attached Files

  13. #13
    30 Helens Agree neandrake's Avatar
    Join Date
    Jan 2002
    Posts
    640
    Code:
    Operating System: Windows 98/XP
    Compiler: Dev-C++
    Graphics Library: Allegro (4.0?)
    Description: Click a moving target
    The allegro dll file (alleg40.dll) is required to play. It was too big to upload, sorry.

    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.
    Attached Files Attached Files
    Last edited by neandrake; 11-20-2003 at 12:38 PM.
    Environment: OS X, GCC / G++
    Codes: Java, C#, C/C++
    AOL IM: neandrake, Email: neandrake (at) gmail (dot) com

  14. #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
    Attached Files Attached Files

  15. #15
    Registered User PotitKing's Avatar
    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

Page 1 of 9 123456789 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Resources for professional games
    By EVOEx in forum Game Programming
    Replies: 8
    Last Post: 06-17-2009, 02:42 PM
  2. need help with HTTP POST
    By Anddos in forum Networking/Device Communication
    Replies: 5
    Last Post: 03-22-2009, 08:41 AM
  3. Unknown memory leak with linked lists...
    By RaDeuX in forum C Programming
    Replies: 6
    Last Post: 12-07-2008, 03:09 AM
  4. Auto POST
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 06-07-2003, 10:42 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21