LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tic Tac Toe Coding Challenge

I don't get what chilly is thinking.

about the scoring, i guess every player plays with everyone else including the random player? (how many matches).

0 Kudos
Message 61 of 183
(3,940 Views)
Perhaps we should call it "Stubbed Toe" instead. Robot Very Happy
Or maybe "Deep Doh" Robot tongue
Message 62 of 183
(3,940 Views)


cosmin a écrit:... I don't get what chilly is thinking.


According to famous experiments, frogs can live without a brain. So you have virtually no chance to get the thinkings of a crazy frog 😉
Chilly Charly    (aka CC)
Message 63 of 183
(3,922 Views)


@chilly charly wrote:

For instance, compare the various vi players against CCref, using the following initial configuration, 
 XX
O  O
O  O
 XX

 The result is very interesting 😉

So there is a lot of room for improvements and I would like to see some contributions from other competitors. Christian ? Ben ? Tst ? Shane ? JLV ? What are you preparing in the dark ?


Yes...  This is the first trick that I implemented..  By the looks of it, you also appear to start with a similar pattern, with a preference with the rightmost "O".  I modified my vi to block your moves...  But I have not yet had time to implement suffisticated algorithms, so your vi wins (or rather loses) most of the time.  However, I managed to increase the number of ties. 

I will probably post an example as soon as I get decent number of loses.  😉

Once again, thanks CC for setting the bar. 

Ray

Message 64 of 183
(3,922 Views)

Altenbach,

We draw every game...

And CC's get's 80+ wins when running first, and ~5 wins if starts second.

Now... why does a CC loss (win) count as a draw???? 

I'll try to attach pictures

 

 

Message Edited by JoeLabView on 05-08-2006 01:20 PM

Download All
Message 65 of 183
(3,863 Views)

JLV,

I have to confess that I didn't understand a piece of your last post ! Seems that I missed a few posts or is that a "private" discussion with Christian ?

Chilly Charly    (aka CC)
Message 66 of 183
(3,844 Views)


@JoeLabView wrote:

Now... why does a CC loss (win) count as a draw???? 


This looks like an illegal position. SInce X always starts, the number of O on the board must be the same as the number of X or one less.
 
What do you use for scoring?
0 Kudos
Message 67 of 183
(3,838 Views)

I guess the weaker players will make the winner.

my scores for now are:

against random player:197/190

against CC: 163/112

against KP2A:100/100, no win or lose 🙂

Message 68 of 183
(3,840 Views)


cosmin a écrit: ... I guess the weaker players will make the winner.


Assuming player A is better than the other players, then it can be demonstrated without too much suffering that the other players are weaker than player A. So, you are right, the weakers make the winner... 😉  There are also some stories about bottles half-filled or half-emptied... 😄
 
I offer again my idea of evaluating the vi-players for problem solving. Apart the O-ring already described, for which the second player always wins, there is also the checker board (always draw, but that can be tricky...)
XX..
XX..
..OO
..OO
 
The S-fence :(the second win or draw)
X..O
X..O
X..O
....
 
The A-fence (the second win or draw)
X...
X..O
X..O
...O
 
The Vee (always draw)
X..O
.XO.
.OX.
....
 
Some scores :       CC-ref(1) / KP-2a(2)
O-ring                   100 /
Checker board            200 / 0
A-fence                  100 / 100
B-fence                  100 / 100
Vee                      100 / 100
Chilly Charly    (aka CC)
Message 69 of 183
(3,831 Views)
And of course, the tab bug striked again, and then the 5000 chars limit swallowed my post... 😠
 
Bah, on y verra plus clair demain !
 
Chilly Charly    (aka CC)
0 Kudos
Message 70 of 183
(3,825 Views)