Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • Anchor CMS 0.5
  • trueDAT 4.00
  • HTML KickStart 0.92
  • WP Translate 0.6
  • Unobtrusive Google...
  • youRhere v1.4
  • slabText v1
  • Perfect Quotes 0.3.2
  • LLVM 3.0
  • -prefix-free 1.0.4
  • Home > Scripts > Games

    Advanced TicTacToe game

    Download button

    Downloads: 1,795  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    20 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Gonzales Cenelia | More scripts
    www.planet-source-code.com
    Freeware 

    Windows
    N/A
    C/C++
    June 2nd, 2007, 10:01 GMT
    C: \ Games

     Read user reviews (0)  Refer to a friend  Subscribe

    Advanced TicTacToe game description

    Advanced TicTacToe game code has artificial intelligence given by the implementation of the MiniMax Algorithm.

    This is a complete Tictactoe game, it includes many functionalities, you can play games against another human, you can play against the computer, you can also even let the computer play against itself.

    The A.I is very good, actualy it is unbeatable, the most you can do is to draw the games. Also, the game include statistics (number of win, draw an lost games) for the current match between players.

     The A.I for this tictactoe game is an implementation of the MiniMax Algorithm, the algorithm was implemented by using three functions, Minimax(...), MinMove(...) and MaxMove(...), as you probably may have guest it, the main function in this algorithm is MiniMax(...), it returns the best move for the current computer player.

    To be capable of choosing the best move, the program takes time to generate all the possible outcomes for the current board position anthe possible outco, it decides wich one is the best.



    TAGS:

    TicTacToe game | artificial intelligence | game algorithm | artificial | intelligence | game



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM