Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Games > Puzzle

    tictactoe 1.2.1

    Download button

    No screenshots available
    Downloads: 430  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.6/5)
    12 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Philip S Tellis | More programs
    GPL / FREE
    December 27th, 2006, 06:05 GMT
    ROOT / Games / Puzzle

     Read user reviews (0)  Refer to a friend  Subscribe

    tictactoe description

    tictactoe project is an implementation of the children's game.

    tictactoe project is an implementation of the children's game.

    This implementation of tictactoe can have an NxN sized board, where N is an odd number >= 3.

    What makes this implementation different from others is that it does not use lookahead, and still never loses. It is more of an experiment than anything else.

    There are two pieces - X and O. O always plays first. There are no real rules to this game, except that the first person to complete a line (row, column or diagonal) from one end to the other is the winner. Diagonals MUST pass through the centre.

    The size of the board is configured at compile time by setting the SIZE macro. Only odd sized boards (3, 5, 7) will work. Don't even bother with even sized boards, I don't know what will happen.

    What's so different about this implementation? Well, it doesn't use lookahead like most other implementations would. It basically places its piece on all available positions, and checks if the board arrangement `looks' good or not. It picks the best looking option.

    This implementation should never lose, on any board >= 3X3, although it has been known to win on occassion.

    The system is based on six rules that I will document later, but can be found in the source. The first two - win if possible, and block if opponent can win may be removed in a future version if the other rules seem to cover them.

    What's New in This Release:

    · Fixed one more losing case. Thanks to Philipp Niemann.



    Product's homepage

      


    TAGS:

    tictactoe score | tictactoe implementation | complete a line | tictactoe | implementation | complete

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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