fmII
Tue, Oct 07th home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop 19:10 UTC
in
Section
login «
register «
recover password «
[Project] add release | add branch | add screenshot | broken links | change owner | email subscribers | update project | update branch (urls) [Project]
Theme topics | Apps | Resources | Window Managers | Afterstep | Blackbox | Enlightenment | Fluxbox | GTK | IceWM | KDE | MetaCity | Sawfish | Window Maker

 tictactoe 1.2.1 (Stable)
Section: Unix

 

Added: Thu, Oct 4th 2001 06:54 UTC (7 years, 0 months ago) Updated: Tue, Dec 18th 2001 07:23 UTC (6 years, 9 months ago)


About:
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.

Release focus: Minor bugfixes

Changes:
Another losing case was fixed. The program is stable enough that any losses can be fixed by only manipulating different scores.

Author:
BluesMoon [contact developer]

Rating:
8.36/10.00 (1 vote)

Homepage:
http://tictactoe-score.sourceforge.net/
Tar/GZ:
http://prdownloads.sourceforge.net/tictactoe-score/tictactoe-1.2.1.tar.gz
Changelog:
http://tictactoe-score.sourceforge.net/Changelog

Trove categories: [change]
[Development Status]  5 - Production/Stable
[Environment]  Console (Text Based)
[Intended Audience]  End Users/Desktop
[License]  OSI Approved :: GNU General Public License (GPL)
[Operating System]  OS Independent
[Programming Language]  C
[Topic]  Games/Entertainment :: Puzzle Games

Dependencies: [change]
No dependencies filed

 
Project admins: [change]
» BluesMoon (Owner)

» Rating: 8.36/10.00 (Rank N/A)
» Vitality: 0.00% (Rank 16264)
» Popularity: 0.17% (Rank 27531)

project statsdownload stats
(click to enlarge graphs)
   Record hits: 6,839
   URL hits: 3,502
   Subscribers: 0

Other projects from the same categories:
GSokoban
Sudokut
OCC
Inertia
BTTris


Add comment · Rate this project · Subscribe to new releases · Ignore this project · Email this project to a friend · Project record in XML

 Branches

Branch Version Last release License URLs
Stable 1.2.1 18-Dec-2001 GNU General Public License (GPL) Homepage Tar/GZ Changelog Hosted on SourceForge.net

 Releases

Version Focus Date
1.2.1 Minor bugfixes 18-Dec-2001 12:23
1.2 Minor bugfixes 15-Dec-2001 21:38
1.1 Minor feature enhancements 09-Oct-2001 10:58
1.0 Initial freshmeat announcement 05-Oct-2001 04:37

 Comments

[»] can't loose, but doesn't win when it can...
by Pinion - Dec 15th 2001 20:09:17

I know, I'm bored, but I usually check all TicTacToe implementation using standard strategies. This one failed one of them. It seems that the software wants to draw, not to win! which I find a bit weird (but that just me :).

I'm reffering to the classic mistake: (computer is X)

- 0 -
- X -
- - -

Obviously, I lost, but the computer responded with:

X 0 -
- X -
- - -

Which means that I can draw the game again. Trying to put the 0 in different places but with the same strategy resulted the same (0 in 1/2, 2/1, 3/2, 2,3).

As I said, I was bored...

[reply] [top]


    [»] Re: can't loose, but doesn't win when it can...
    by BluesMoon - Dec 18th 2001 08:50:16

    Well, the computer's move was correct, it's its next move that is wrong:

    X O X
    _ X _
    _ _ O

    when it should have put the X at 3,1, it puts it at 1,3.

    I'm still tweaking the scores, and every post like this helps me make it better, so thank you. I'll add this to my test cases.

    Philip

    [reply] [top]


[»] I am weasle episode.. Tic Tac Toe one in a row!
by Noviota - Oct 5th 2001 01:17:30

./tictactoe

Use --help flag to get help

_
Place your piece
row = (1-1) 1
col = (1-1) 1
O
Game over - O wins

[reply] [top]


    [»] Re: I am weasle episode.. Tic Tac Toe one in a row!
    by BluesMoon - Oct 5th 2001 03:53:36

    lol. Ya, that was expected. I guess I should have mentioned it in the readme file, although it is mentioned in the project record on freshmeat: an NxN sized board, where N is an odd number >= 3 So, I concede. My program can lose for boards of size 1. It will win if it plays first though.

    [reply] [top]


      [»] Re: I am weasle episode.. Tic Tac Toe one in a row!
      by Noviota - Oct 5th 2001 05:45:02

      I did see that in the freshmeat listing. Its just having recently seen the episode i thought it would be amusing.

      The only other amusing fact is if the board size is 0 the computer wins.

      Interesting peice of software... Maybe you could get the computer to play itself?

      [reply] [top]


        [»] Re: I am weasle episode.. Tic Tac Toe one in a row!
        by BluesMoon - Oct 5th 2001 06:43:09


        > I did see that in the freshmeat listing.
        > Its just having recently seen the
        > episode i thought it would be amusing.

        Darn. Must've missed that one.

        Either way, with board size 0 or 1, run tictactoe X, to invert the winner.

        The ultimate goal would be to get it to play itself, but first I'd have to remove the explicit win and dont_lose rules. For now, run it on two terminals, one with tictactoe O, and the other tictactoe X, pass moves from one to the other manually (If Tomorrow Comes ;)

        [reply] [top]


          [»] Re: I am weasle episode.. Tic Tac Toe one in a row!
          by hewittjam - Jun 4th 2007 03:26:39

          maru batsu.eu uses this logic for tic tac toe but it is more developed and works on larger boards. Not sure if it should be called tictactoe though, probably maru batsu as the name of the domain suggests it.

          [reply] [top]


            [»] Re: I am weasle episode.. Tic Tac Toe one in a row!
            by BluesMoon - Jun 4th 2007 05:34:28

            Nice to know. What do you mean by larger boards though? My version works with boards of infinite length (assuming you have the memory) as long as it's a positive odd integer - 0 being the only even number allowed.

            [reply] [top]




© Copyright 2008 SourceForge, Inc., All Rights Reserved.
About freshmeat.net •  Privacy Statement •  Terms of Use •  Trademark Guidelines •  Advertise •  Contact Us • 
ThinkGeek •  Slashdot  •  Linux.com •  SourceForge.net  •  Jobs