Thread: Post your games here...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229

    Everyone else has one...

    So I made a tic tac toe game.

    The AI is perfect (I think). I don't think you can beat it, just tie or lose.

    Operating system: XP SP2
    Compiler: Code::Blocks
    Graphics Library: None
    Other Libraries: None

    http://www.opticalmusic.net/filesforever/tictactoe.zip

    Edit: Nevermind, you can beat it. It's hard to do through.

    Edit: OK, updated it so you really can't beat it.
    Last edited by IdioticCreation; 04-01-2007 at 12:12 PM.

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Scranton, Pa
    Posts
    252
    Worked fine, I.C. I did find a pattern than enabled me to win everytime.

    moves:

    a1[p] b2[ai] c3[p] a3[qi] c1[p] c2[ai] b1[p]

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    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
    Double Helix STL

  4. #4
    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!


    Attachment 7329

  5. #5
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    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.

  6. #6
    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

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

  8. #8
    Chinese pâté foxman's Avatar
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    404
    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
    Attachment 7411

    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.

  9. #9
    The larch
    Join Date
    May 2006
    Posts
    3,573
    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.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  10. #10
    Registered User
    Join Date
    Nov 2007
    Location
    Free Country, USA
    Posts
    105
    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.

  11. #11
    Enthusiastic Beginner balazsbotond's Avatar
    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

  12. #12
    Registered User
    Join Date
    Dec 2007
    Posts
    2
    Very nice

    Toni Rudolf Vlaic

  13. #13
    Registered User
    Join Date
    Jan 2008
    Posts
    66
    Simple snake game, finally all bugs fixed...

    Please tell if there are any!

    Operating system: XP SP2
    Compiler: Borland C++ v5.02
    Graphics Library:
    Other Libraries:
    Description: Snake Game
    Last edited by ThLstN; 01-06-2008 at 05:52 AM.

  14. #14
    Registered User
    Join Date
    Jan 2008
    Posts
    1
    Code:
    Operating system: XP/Linux
    Compiler: mingw32/gcc
    Graphics Library: SDL
    Other Libraries: SDL_mixer SDL_ttf
    Description: A clone of pong
    This is a pong clone I wrote in C++ with SDL.

    Player 1 uses w and s, player 2 uses i and k.

    To build it on Windows with mingw use:
    make WINDOWS=1
    For linux, just run:
    make


    Unfortunately, it is too large to put as an attachment:

  15. #15
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463

    The Gamma Pr°ject - space FPS / strategy

    Hi everybody!

    I'm back again after some years... ;-) but here's also something I started in between:

    The Gamma Pr°ject
    Actually this is the first public demo, hope you'll like it.
    I'd appreciate your feedback!

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, 04: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