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 / 10732
10731  |  10733
Subject: 
Re: C$ - Code Only
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Tue, 3 Feb 2004 02:32:39 GMT
Viewed: 
597 times
  
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
    

Custom Search

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