|
In lugnet.org.ca.rtltoronto, Steve Hassenplug wrote:
> Questions?
Yeah, is there a crash course page on sending standard IR messages from brickOS?
Anyways, I've posted my logic. It takes about 6-7 seconds to make the decisions
on a brick (with the sensor polling decreased -- see an old robotics.rcx.legos
thread)
members.lycos.co.uk/drunkenogre/craniac.exe
|
|
Message has 1 Reply: | | Re: C$ - Code Only
|
| (...) #include <sys/lnp.h> // I think ... send_msg(move+1); // number from 1-7 ... if (lnp_rcx_message>0) { move = lnp_rcx_message; clear_msg(); } (21 years ago, 3-Feb-04, to lugnet.org.ca.rtltoronto)
|
Message is in Reply To:
| | C$ - Code Only
|
| 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. 2) When it's your turn, calculate a move, then send an IR message which indicates the column number (1-7) of (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|