|
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? :)
> There is no real need for steps 3 or 5 (steps 4 and 6 provide the same thing),
> but if you tell me what value you want me to send I can send it.
That's true. But, given the UI that I have set-up in MY RCX, it is required.
Just send back the move number.
> Can we send values 0-6 instead of 1-7? Come on, we're all C or assembly
> programmers here, right?
The problem is some software doesn't receive a 0 very well. And, to tell you
the truth, I'm not a C programmer. :) I learned C (and only use C) for
programming my RCX with BrickOS. I've actually just been learning assembly for
programming my BFB. So, outside LEGO, I've never used either. :)
> I've got my 1500 page book working with standard IR messages, using neither
> brickOS or QuiteC. Curious?
naa. I'm pretty sure your using NQC. :)
> I currently force the seed to the same value once when program starts the first
> time. I can force the seed for each game if desired.
no. That's cool. It makes it easier to test.
Steve
|
|
Message has 2 Replies: | | Re: C$ - Code Only
|
| (...) 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* (...) (21 years ago, 5-Feb-04, to lugnet.org.ca.rtltoronto)
| | | Re: C$ - Code Only
|
| (...) Still trying to get a clear answer to a simple question..... Are you saying that *any* message is fine for step 3? When you say "send back the move number" are you meaning the move we just received, or the move we rapidly predict with our 1750 (...) (21 years ago, 5-Feb-04, to lugnet.org.ca.rtltoronto)
|
Message is in Reply To:
| | Re: C$ - Code Only
|
| (...) Steve, 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. There is no real need for steps 3 or 5 (steps 4 and 6 provide the (...) (21 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
|
|
|
|