Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge: Creating AI that can "learn" through pr
#5
Ive actually got a glitch in my AI program. I couldnt quite get the avoiding the enemy coding right.

the smiley face is meant to avoid the enemy X only when the x is within a certain range. if the X comes within7, or maybe 5 blocks, the face is supposed to try and avoid him, based on the randomisation lines.

I dunno, I cant quite get it right. he either goes towards him, or simply doesnt avoid him. Im perplexed. any ideas?
You can't get a job in the games industry, until you've had at least 2 years experience in the industry, which wont happen until you get a job in the industry. " - random recruitment agency
Reply


Messages In This Thread
Challenge: Creating AI that can "learn" through pr - by otaku84 - 10-15-2003, 08:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)