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; he jsut kidding he means post your games, if your going to share the source so we can all bask ...

  1. #46
    Banned
    Join Date
    Jun 2005
    Posts
    594
    he jsut kidding he means post your games, if your going to share
    the source so we can all bask in the source light, and learn
    from the experience.

  2. #47
    Registered User
    Join Date
    May 2005
    Posts
    2
    A very simple tetris like game with source code!

    Version : 0.1 Beta
    Programming Language : C
    Library used : SDL (www.libsdl.org)
    License : BSD-Style

    Check it at :

    http://www.giannirossi.org/index.php?mod=none_Tetramini

  3. #48
    Registered User
    Join Date
    Aug 2005
    Posts
    38
    Quote Originally Posted by Josh Kasten
    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

    cool game, but after i exit the game ALL my icons disappared (all the IE icons, start menu icons and any other icon u can think of)

  4. #49
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    Quote Originally Posted by elad
    OS: W98
    Language: C++
    Compiler: Dev-C++ 4.9
    Graphics: OpenGL 1.1
    Other: None
    Description: This creates a Rubiks cube you can manipulate with the keyboard and implements a solution to Rubiks cube from any random starting point and allows you to view an animated solution or view the solution move by move.
    I'm running Dev-C++ 4.9.9.2 and it's not compiling for me. It's giving me tons of errors (two of which I fixed by changing <stdlib.h> to <cstdlib>, and <fstream.h> to <fstream>. The first error below's "line", and all "file"s, have been shortened a bit.

    Errors I'm getting:
    Code:
    In the format of...
    Line | File | Message
    
    My Documents\Cprograms\C | (same as line) | gl/glut.h: No such file or directory.
    (none) | My Documents\Cprograms\RCubeSol.cpp | In member function `void Cube:updateFaces(Twist)':
    239 | (same as above) | `right' undeclared (first use this function)
    241 | (same) | `left' undeclared (first use this function)
    (none) | (same ) | In function `void DrawGLScene()':
    925 | (same) | `glutSwapBuffers' undeclared (first use this function)
    (none) | (same) | In function `void KeyboardEvent(unsigned char, int, int)':
    1023 | (same) | `glutGetModifiers' undeclared (first use this function)
    1024 | (same) | `GLUT_ACTIVE_ALT' undeclared (first use this function)
    (none) | (same) | In function `void SpecialEvent(int, int, int)':
    1212 | (same) | `GLUT_KEY_F1' undeclared (first use this function)
    1215 | (same) | `glutFullScreen' undeclared (first use this function)
    1218 | (same) | `glutPositionWindow' undeclared (first use this function)
    1219 | (same) | `glutReshapeWindow' undeclared (first use this function)
    (none) | (same) | In function `void solve()':
    1269 | (same) | `cout' undeclared (first use this function) ((Ok, this one's scary. Cout, undeclared? Uhoh.))
    1372 | (same) | `right' undeclared (first use this function)
    (none) | (same) | In function `void displayGreeting()':
    2019 | (same) | `cout' undeclared (first use this function)
    2032 | (same) | `cin' undeclared (first use this function)
    
    ((Same errors for the next 2 functions))
    (none) | (same) | In function `void displayInstructions()':
    (none) | (same) | In function `void displayMenu()':
    
    (none) | (same) | In function `void displayCube(int, char**)':
    2119 | (same) | `glutInit' undeclared (first use this function)
    2120 | (same) | `GLUT_DOUBLE' undeclared (first use this function)
    2120 | (same) | `GLUT_RGB' undeclared (first use this function)
    2120 | (same) | `GLUT_DEPTH' undeclared (first use this function)
    2120 | (same) | `glutInitDisplayMode' undeclared' (first use this function)
    That should be enough for the moment, if you need the whole error log, I'll edit the post.

  5. #50
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    Code:
    Operating system: XP (but should work on anything)
    Compiler: Dev-C++ 4.9.9.2
    Graphics Library:
    Other Libraries:
    Description: Text-based rpg with a few minor bugs and a single bit of Story mode
    Unfinished, but very much playable. Will be editing a lot, so if you download the game, check back regularly for updates.
    Attached Files Attached Files

  6. #51
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    I'm running Dev-C++ 4.9.9.2 and it's not compiling for me.
    You don't have OpenGL, according to this error:
    gl/glut.h: No such file or directory.
    As for this . . .
    after i exit the game ALL my icons disappared
    That sometimes happens to me, too, with a different program. Open a DOS prompt, and press ALT-ENTER twice (to enter and exit full screen), or thrice if it starts in full screen. That usually fixes it.

    [edit]
    `cout' undeclared (first use this function)
    You either need
    Code:
    #include <iostream.h>
    or
    Code:
    #include <iostream>
    using namespace std;
    That tetris game looks like the one I wrote myself . . . nice.
    [/edit]
    Last edited by dwks; 08-30-2005 at 12:53 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  7. #52
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    AoTRN - The Readme File

    This is going to be huge. It'll take me a fortnight or so to be able to post anything material, but here's the readme file (so far) for your pleasure:

    Adventures of The Rusty Nail
    Designed & Programmed by Lee Thomas
    -----------------------------------

    It's free, it's corny, it's a pointless adventure to nowhere, it's
    for Linux users only, it AoTRN.


    The Story
    ---------

    I admit the game isn't pretty. It's all bash, but MuD gamers will
    probably not think twice about the looks, and focus on the game.

    You start AoTRN in your local boozer, with the rest of your gang.
    You guessed, The Rusty Nail is the pub, and you're a maniac of a
    biker gang member whose sole occupation for the last 4 years has
    been to protect TRN and woo Sally the barmaid.

    The goals of AoTRN, you ask? Simple. Protect TRN and get into bed
    with Sally the barmaid. This task will be long and tedious, but
    by reading all below, it'll be made a lot easier for you.

    Throughout the game you will of course have to leave TRN and
    explore the city around you. The city is dangerous; drunks and
    gang members are out to get you, and the cops may just take a break
    from their donuts and tight pants to aid in this.

    You will be able to arm yourself with all manner of weaponry, from
    glass shards wrapped in selotape and snowballs with stones in them,
    to glocks and heavy machineguns.


    The Guilty Parties
    ------------------

    <YOU> The player. Ruthless biker gang member making a b-line for
    Sally the barmaid. You are central to the gameplay; don't
    ever loose yourself.

    <THE BOSS> Your boss. Mean, old, leather-bound and left-wing,
    your boss (known only as 'The Boss') will have
    you galavanting all over this god-forsaken hell-hole
    of a city.

    <THE GIRLY> Sally the barmaid. Your secondary objective in AoTRN.
    Busty, blonde and young. Get in there my son!


    The Controls
    ------------
    Some details about AoTRN:


    • Programmed in C++
    • Big
    • Manly
    • Free
    For now AoTRN will be only for Linux, but I'll port it ASAP.
    Tell me what you think of the story etc, I'd love to know!
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  8. #53
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Not sure if I can post this here, sure I'll find out

    I'm going to be .tar.gz'ing nightly snapshots of the AoTRN development directory and make them available here:

    http://leesblog.thejefffiles.com/AoT...RN.X.XX.tar.gz

    Where X.XX is the version number.

    Here's a link to the folder:

    http://leesblog.thejefffiles.com/AoTRN/

    I'm hoping this will be good learning material, and maybe some of you could help me fix any bugs I encounter.

    Of course anyone who helps will be credited (Salem and prog-bman are already in there for their help recently ).

    So expect the first snapshot tonight, around 21:00 GMT +1.
    Last edited by cboard_member; 09-03-2005 at 07:00 AM.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  9. #54
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    Code:
    Operating system: XP (but should work on anything)
    Compiler: Dev-C++ 4.9.9.2
    Graphics Library:
    Other Libraries:
    Description: Text-based rpg with no known bugs, but is unfinished. Playable.
    Sorry, but for some reason I can't edit my last post to update the game. Here's the updated version nonetheless. A bit boring, and the story mode isn't complete (not to mention the monster database and the level-up function), but it's playable. Lemme know if you see any bugs!
    Attached Files Attached Files
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

  10. #55
    Registered User
    Join Date
    Jan 2003
    Posts
    118
    Code:
    Operating system: XP SP2
    Compiler: Visual C++ .NET
    Graphics Library: none
    Other Libraries: <windows.h>, <stdio.h>, <conio.h>
    Description: Tetris (move with arrows)
    Link
    Why drink and drive when you can smoke and fly?

  11. #56
    Registered User
    Join Date
    Jan 2003
    Posts
    118
    CORRECT LINK

    Quote Originally Posted by Marcos
    Code:
    Operating system: XP SP2
    Compiler: Visual C++ .NET
    Graphics Library: none
    Other Libraries: <windows.h>, <stdio.h>, <conio.h>
    Description: Tetris (move with arrows)
    Link
    Why drink and drive when you can smoke and fly?

  12. #57
    Registered User
    Join Date
    Oct 2005
    Posts
    18
    My TicTacToe Game
    Code:
    Operating system: Compiled on XP SP2. Works on Win95 and up
    Compiler: Dev-C++ 5 beta
    Graphics Library: none
    Other Libraries: <windows.h>, <iostream>
    Description: TicTacToe, against a pretty good computer, only one way to beat it that I have found.
    My first ever game with some sort of intelligence (although it's not really AI).

    Sorry for the terrible UI, but that wasn't what I was focusing on.

    Download: http://www.om3ga.co.uk/TicTacToe.zip

    -Ben
    Check out my blog!
    http://www.om3ga.co.uk

  13. #58
    The Reel Thing
    Join Date
    Jun 2005
    Posts
    44
    My Final Project

    This is basically an endless hi-tech corridor, with obstruction billboards blocking the way. It's time based, and you can control how fast the camera moves through the world. Use the mouse to manouver, and press W or the up arrow to go "light-speed"

    Code:
    OS: XP, haven't tried it on 9x, but it should work
    Compiler: MingW with Code::Blocks 1.0rc2
    Graphics Libraries: OpenGL with Irrlicht 3D engine
    Other Libraries: Audiere (sound), iostream
    Link: http://savefile.com/files/1808341
    Last edited by Highland Laddie; 11-25-2005 at 05:35 PM.
    Bagpipes putting the fun back in funeral.

  14. #59
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    Code:
    Operating System: WinXP
    Compiler (IDE in this case): Dev-C++
    Graphics Libraries: None
    Other Libraries: iostream, fstream, string
    Again, I can't edit my old post... This one isn't much of an update except for some changes in how the code runs, and I've been trying to switch the save/load system from text files to binary files, without too much success...
    Attached Files Attached Files
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

  15. #60
    60% Braindead
    Join Date
    Dec 2005
    Posts
    379
    Code:
    Operating System: Windows XP.
    Compiler: Borland C++ Free Command Line Compiler.
    Graphic Libraries: None
    Other Libraries: windows.h, iostream, time.h, stdlib.h, conio.h.
    Heres my crappy little game, you're a * avoiding the evil green @ signs. Its turnedbased, with a crappy random-based AI. Very compact code, just thought it was worth posting:
    Attached Files Attached Files
    Code:
    Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *)

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