Important alert: (current site time 7/15/2013 7:45:22 AM EDT)
 

winzip icon

[ [ ] ] Ant Hill Sim (Scent AI)

Email
Submitted on: 10/8/2003 4:52:30 PM
By: Spot  
Level: Intermediate
User Rating: By 5 Users
Compatibility: C#
Views: 38471
(About the author)
 
     I recently stumbled across Scent Trail AI, and found a fairly good VB application that demostrated it. This was: Ant Farm Simulator, by Roberto Aguirre, available at http://www.geocities.com/chamonate/hormigas/antfarm/ I really thought it had potential, and combining this with my own ideas and other sources I decided to try a object oriented approach (not that this version is really that OO), anyway I rewrote it from scatch in C#, partly as a turtorial for others and just as an exercise in AI for myself.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
10/9/2003 3:27:43 AMElfar Alfrešsson

Z:\Code\Downloaded Code\__!!__Ant_1655631082003\Sol-AIEasy\Prj-AIEasy\World.cs(13): The type or namespace name 'Toolkit' could not be found (are you missing a using directive or an assembly reference?)

(If this comment was disrespectful, please report it.)

 
5/10/2004 2:33:51 AMPaul Stevens

Very cool code, but because of your use of [ [ ] ] to move your entry to the top of the list you won't be getting eny votes from me
(If this comment was disrespectful, please report it.)

 
2/12/2006 9:15:58 AMmuhammed saed

my c#
(If this comment was disrespectful, please report it.)

 
4/8/2008 2:49:56 AMHung

Goog
(If this comment was disrespectful, please report it.)

 
5/6/2009 7:52:33 PMpavan

Error 1 The type or namespace name 'Toolkit' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Peter Gordon\Desktop\[_[_]_]_An1666501122003\Sol-AIEasy\Prj-AIEasy\Creature.cs 12 7 Prj-AIEasy
................................

how
to resolve this error.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.