|
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.
Author:
BluesMoon [contact developer]
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]
Dependencies:
[change]
No dependencies filed
|
|
» Rating:
8.36/10.00
(Rank N/A)
» Vitality: 0.00% (Rank 16129)
» Popularity: 0.16% (Rank 27189)

(click to enlarge graphs)
Record hits: 6,664
URL hits: 3,492
Subscribers: 0
|
|
Branches
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]
|