|
In lugnet.org.ca.rtltoronto, Chris Magno wrote:
> In lugnet.org.ca.rtltoronto, Steve Hassenplug wrote:
> > Here's a quick look at the interface for a code-only C$ game.
> >
> > 1) There must be some method to tell you code if it's going first or second.
>
> then you can have an ON BOARD UI, press view, or prg. to start.
This is recommended.
> > 2) When it's your turn, calculate a move, then send an IR message which
> > indicates the column number (1-7) of the move.
>
> recomend that you use the "lego protocal" IR stuff, other wise your dealing with
Yes. Standard Mindstorms IR messages. (0-255)
> > 3) Wait for a confirmation message (this step allows for better UI on the RCX)
>
> or you can skip this step and just go straight to step 4
Yes, You can skip this step. But then it won't work. This is the protocol.
> > 4) Wait for opponent move (via IR, 1-7)
>
> ok
>
> > 5) When IR signal is received, send confirmation message (send "move" back)
>
> or not.... you could skip this step
Yes, You can skip this step. But then it won't work. This is the protocol.
> > 6) If you're not done, goto (2)
> >
> > I have a PC interface that I will post, ASAP. It uses the IR tower to watch
> > games and display the board on the screen. It also shows times, and move
> > history.
>
>
> umm, HELLO I'm waiting!!!!!
I'm at work. The software's at home. Keep waiting.
> >
> > If anyone wants to display their code, feel free to send it to me (or send a
> > link)
>
> wadda ya think kevin???
>
> should we(you mainly) offer C$ v1.1 code.
Don't feel obligated. I can live, content with the knowledge that my C$ robot
went undefeated on Saturday (once I remembered to plug it in) (BTW, rotation
sensors count different on batteries than on AC, and they don't count at all
when they're cold)
After the event was over, Mario was able to play my robot to a draw, (manually
using his program, with no robot) when HE went first. But, even that doesn't
count as a loss.
> > Questions?
>
> I have a question?? do you ~HAVE~ to tip if you are at a resturant and the menu says that a gratutiy will be automaticly added for groups over 8 ???
If they automaticly charge it to your credit card, it can be a real pain to have
it taken off. But, if there's a really big line at the door, the manager will
give you the money back, as fast as they can, to get you out the door.
|
|
Message is in Reply To:
| | Re: C$ - Code Only
|
| (...) I can see a few soloutions: 1 on board UI. run prg slot 1 or 2 depending on who goes first. for OTHER os's then you can have an ON BOARD UI, press view, or prg. to start. 2. beam a "message" to each brick. 1 or 2. 3. put a touch sensor on each (...) (21 years ago, 2-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
|
|
|
|