Results 1 to 9 of 9

Thread: Tic Tac Toe [Source | Exe] 3 Different AI's

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Posts
    601

    Tic Tac Toe [Source | Exe] 3 Different AI's

    tic tac toe
    Attached Files Attached Files

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Israel
    Posts
    636
    Very simple game. Very cool implementation.
    Still, Hard Level is not that hard.. heh.

    Arie.
    Tip Of The Day: Fake it 'till you make it !

  3. #3
    Frenzied Member conipto's Avatar
    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    1,175

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    The computer doesn't always take it's turn.

    Bill
    Hate Adobe Acrobat? My Codebank Sumbissions - Easy CodeDom Expression evaluator: (VB / C# ) -- C# Scrolling Text Display

    I Like to code when drunk. Don't say you weren't warned.

  4. #4
    Junior Member
    Join Date
    Oct 2006
    Location
    Florida
    Posts
    25

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    You need to have something that says "Tie Game" when theres a tie game...
    Visual Basic developers needed for Fantasy Football project:
    http://sourceforge.net/projects/fanfbscoring/

  5. #5
    Hyperactive Member PlaGuE's Avatar
    Join Date
    Jun 2005
    Location
    in ur mind.
    Posts
    445

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    I either win, or have a tie game. Make it harder.
    Without balance, there could only be chaos.
    Without chaos, there could be no balance.
    I live with karma. Eat with destiny. Dream of life without shackles....
    Yet. If life had no consequences, life could not exist, nor could it flourish.


    If at first you dont succeed.You're screwed.

    C++/Java NOOB.

    I aint a professional at PHP, but if i can help i will.

  6. #6
    Hyperactive Member Fedhax's Avatar
    Join Date
    Aug 2006
    Posts
    293

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    Quote Originally Posted by PlaGuE
    I either win, or have a tie game. Make it harder.
    In his defense, I've read some AI design articles using Tic-Tac-Toe as a simple starter's point, and the conclusion seems to be that between a capable player and a capable AI the best result will always be a Cat/Tie due to the board's layout and the game's rules.

    There may be some incremental changes to make, but the end result will only increase the changes of getting a Cat, not winning.

  7. #7
    Hyperactive Member PlaGuE's Avatar
    Join Date
    Jun 2005
    Location
    in ur mind.
    Posts
    445

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    your probably right...
    Without balance, there could only be chaos.
    Without chaos, there could be no balance.
    I live with karma. Eat with destiny. Dream of life without shackles....
    Yet. If life had no consequences, life could not exist, nor could it flourish.


    If at first you dont succeed.You're screwed.

    C++/Java NOOB.

    I aint a professional at PHP, but if i can help i will.

  8. #8
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    There is no form of AI in this game...

    [rant]

    My point is that you hard coded each possibility into the program. Where are the decision trees? Where is the minimax alogorithm? Even on 'hard' it plays to the original programmer's ability. I would like to see you implement a chess game like this!

    [/rant]

    Well commented though
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  9. #9
    Junior Member Coke's Avatar
    Join Date
    Mar 2007
    Posts
    31

    Re: Tic Tac Toe [Source | Exe] 3 Different AI's

    i cant seem to play the game, when i click the box that i want to select, and error pops out, saying cannot find the "X".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width