To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 16609
16608  |  16610
Subject: 
Re: 4x4 Tic Tac Toe...
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 10 Aug 2006 20:17:14 GMT
Viewed: 
1006 times
  
In lugnet.org.ca.rtltoronto, Rob Antonishen wrote:

And the move tree is nested 5 layer deep (assuming you always start)
or 9 layers deep (if you go either first or second).  I'm guessing you
will not have the memory to do this in nested if's :)

-Rob A>

It CAN be done.  My program logic + all movement instructions fit into the RCX
for our 3T contest.  The logic was complete, it would play "perfectly" according
to the logic, and it was all done with nested ifs.  The mechanicals were the
downfall of my robot.  In fact, it actually took only a little more than 1/2 the
total memory available with the standard firmware (I programmed it in
Mindscript).  If people are curious I could post it, since trying to decode my
poorly programmed & documented code would be about as tough as trying to do it
from scratch.

If I recall, all the 3T robots that competed in our challenge used single RCXs
to do both logic and motor control.

John



Message has 1 Reply:
  Re: 4x4 Tic Tac Toe...
 
(...) YES!!!! i would LOVE to have a look at it. I LOVE mindscript. I cant wait for it to be a language for the NXT(1). then I can start to program the NXT. Chris 1. HINT HINT!!!! (18 years ago, 11-Aug-06, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: 4x4 Tic Tac Toe...
 
(...) A little googling came up with this: "255,168 unique games of Tic Tac Toe to be played. Of these, 131,184 are won by the first player, 77,904 are won by the second player, and 46,080 are drawn." And the move tree is nested 5 layer deep (...) (18 years ago, 10-Aug-06, to lugnet.org.ca.rtltoronto)

12 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR