Thread: Code Assistance
View Single Post
  #2   Spotlight this post!  
Unread 17-02-2005, 07:13
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Code Assistance

Hmm.... Interesting method.
But note that variables 'time' and 'step' will reset to zero each time that you go through this loop.
Make them 'static signed int time = 0, step = 0;'.
You probably could cut down the length of that a lot, and make it a lot more modular so that you could have quick changes during the compeptitions (whenever allowed), and have a better layout of the code.
__________________
- from B B frank