Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old August 16th, 2006, 10:53 AM
Oler1s Oler1s is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2006
Posts: 1,540 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 15 sec
Reputation Power: 471
Eh? You write an AI program like any other program. GA/GP involves you writing the fitness function, algorithms to manipulate the "genes", etc. Neural networks require you to program in assigning weights, etc.

There is no separate "AI program". AI is part of your program, right? I'm sorry if I don't understand your question. Can you be more specific?

Reply With Quote
  #17  
Old August 16th, 2006, 08:15 PM
steve18503 steve18503 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Hong Kong
Posts: 13 steve18503 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 48 m 47 sec
Reputation Power: 0
Send a message via ICQ to steve18503 Send a message via MSN to steve18503
O thz~
because actually I don't want to add codes to my main program like a part of function since the skeleton of my program - graphics, controls is already finished
I am a newbie in A.I., so can I seperate another file call AI to run AI instructions?
juz like c lang and java can compile several files to one.....

Reply With Quote
  #18  
Old August 16th, 2006, 08:41 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2006
Posts: 1,540 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 15 sec
Reputation Power: 471
I'm sorry, but I still don't understand your confusion. You're treating AI like an alien object. It's not. It's no different than programming graphics code, or controls, or sound. Your AI code just deals with AI instead of anything else.

Whether it's in a separate file, under your main(), in another existing file, uses OOP, etc, is irrelevant. Does it matter whether your graphics code is all in one file or multiple files? It's a design choice, but in the end, its all graphics, right?

Reply With Quote
  #19  
Old August 16th, 2006, 10:24 PM
steve18503 steve18503 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Hong Kong
Posts: 13 steve18503 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 48 m 47 sec
Reputation Power: 0
Send a message via ICQ to steve18503 Send a message via MSN to steve18503
Quote:
Originally Posted by Oler1s
I'm sorry, but I still don't understand your confusion. You're treating AI like an alien object. It's not. It's no different than programming graphics code, or controls, or sound. Your AI code just deals with AI instead of anything else.

Whether it's in a separate file, under your main(), in another existing file, uses OOP, etc, is irrelevant. Does it matter whether your graphics code is all in one file or multiple files? It's a design choice, but in the end, its all graphics, right?


O thz~
Since I am a newbie on A.I.
I am quite afriad on that.....many people think A.I. is the hardest part of computer programming.....

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Game developing -- AI


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway