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 / 10761
10760  |  10762
Subject: 
Re: C$ - Code Only
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 5 Feb 2004 15:09:52 GMT
Viewed: 
645 times
  
In lugnet.org.ca.rtltoronto, Steve Hassenplug wrote:
In lugnet.org.ca.rtltoronto, Kevin L. Clague wrote:
In lugnet.org.ca.rtltoronto, Steve Hassenplug wrote:
In lugnet.org.ca.rtltoronto, Kevin L. Clague wrote:
In lugnet.org.ca.rtltoronto, Steve Hassenplug wrote:

  First things first, I have one program for player 0, and a second program for
player 1.  I cannot play both games with the same program.  I'm sure you'll
figure out why.


So, does that mean (if you were using a robot) you would have to switch RCXs
between games, depending on if you went first or second?  :)

That is one way to solve it.  A second way is to have a total of 3 RCX's.  One
for running the LEGO hardware, and one for each program.  You turn off the one
you don't want to use depending on if you go first or second.

Have you figured out *why* I would do this yet?


yes.  I can think of two valid reasons.  :)

Care to elucidate?



programming my BFB.  So, outside LEGO, I've never used either.  :)

Well you are in the minority.  More stuff we don't need in our code.


Yes.  Currently, your code has a +100.  Change that to +1

Already done.  I changed the -200 to 1 also.



Chris, am I doing better in my rtlToronto style banter?

You're getting there.

Ummmmm, you are *not* Chris.... Right?  I mean I've never seen the two of you in
the same place.

Kevin



Message has 1 Reply:
  Re: C$ - Code Only
 
(...) no. I got fired last time I did that at work. (20 years ago, 5-Feb-04, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: C$ - Code Only
 
(...) yes. I can think of two valid reasons. :) (...) right. You don't have to play, if you don't want to. :) :) Send back the move you just received. Or any random number between 1 and 6. (...) Yes. Currently, your code has a +100. Change that to (...) (20 years ago, 5-Feb-04, to lugnet.org.ca.rtltoronto)

28 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