Thread: My second game!

  1. #16
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200

    uhhh

    Wat do you mean by the basics of c++. Like classes and stuff?

    I wouldnt know what kind of program to make with all tose things

    What is C++?

  2. #17
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200

    o0?

    OK BASICS OF C++

    Needless to say i just looked at the tutorial.

    What is C++?

  3. #18
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    I think Allegro is easier to understand than Win32 API. Allegro can be found at http://www.talula.demon.co.uk/allegro/, there is a Allegro package for Dev-C++ out there somewhere, search google.

  4. #19
    Registered User Jet_Master's Avatar
    Join Date
    May 2002
    Posts
    291
    is there a programming language that is WAYYYYYYY easier than C or C++ or C# and is much powerful?

    let me know if there is anything on your mind
    I am the Alpha and the Omega!!!

  5. #20
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    is there a programming language that is WAYYYYYYY easier than C or C++ or C# and is much powerful?
    In terms of ease and power, C++ is the best language all around. Java is more robust, but it has nowhere near the creative freedom of C++. It definitlely does not have the raw speed of C++.
    Doom wasnt that run in dos?
    API graphical processes are low-level functions that access the hardware directly via assembly language and Mode 13h or ModeX. Most DOS based games were done in this fashion when no API's were available to perform these low-level functions. If you want to write your own low-level functions and develop API's learn assembly. Else, learn DirectX or OpenGL.

    SDL is a good 2D library that hides the complexities of other API's from the coder, and it can be used alongside OpenGL for 3D. Both are highly portable as well.

    Hope this helps.
    "The mind, like a parachute, only functions when open."

  6. #21
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    your Game still has a weakness. You have to make sure that the Ai doesn't put a piece where it would help the opponent to win next round. Hava look at my connect 4 game. Or..hav u alreadY?

    Bye

  7. #22
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    ... not int main(), but "int WINAPI WinMain(HINSTANCe hInst (...)"
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  8. #23
    . Driveway's Avatar
    Join Date
    May 2002
    Posts
    469
    I got the AI beat on my second game for me going first, first game for AI going first.

    If you go first:
    Move 1: 4
    Move 2: 2
    Move 3: 6
    Move 4: 3
    Move 5: 4
    Move 6: 5

    You Won!

    If AI goes first:
    Move 1: 2
    Move 2: 6
    Move 3: 3
    Move 4: 4
    Move 5: 6
    Move 6: 5

    You Won!

  9. #24
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669

    Thumbs up

    Well done Vicious. But I always beat the AI.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  10. #25
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Thanks everyone.

    And as far as the AI goes...

    I didnt plan on making it invincible.... or extremely difficult for that matter.

    I wanted a AI that would play... Make a few... er several mistakes and lose sometimes.... and win sometimes.
    What is C++?

  11. #26
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210

    Oh sorry...

    I was following up on Tech's replies.
    "The mind, like a parachute, only functions when open."

  12. #27
    Registered User Jet_Master's Avatar
    Join Date
    May 2002
    Posts
    291

    there is a bug

    There is a BUG in your game

    i have put a screenshot of the gamewhen the bug occured. look at the x in column 7. it is hanging in mid-air...
    Last edited by Jet_Master; 05-27-2002 at 08:09 AM.
    I am the Alpha and the Omega!!!

  13. #28
    Registered User Jet_Master's Avatar
    Join Date
    May 2002
    Posts
    291
    There is a BUG in your game

    here is the attachment
    I am the Alpha and the Omega!!!

  14. #29
    Registered User Jet_Master's Avatar
    Join Date
    May 2002
    Posts
    291
    and when i put my "O" in 7, it went beneath the x that was hanging in there.

    here's an attachment:
    I am the Alpha and the Omega!!!

  15. #30
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    LOL... I had so many of those bugs..

    I thought I found them all..
    What is C++?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 10:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM