Click here to Skip to main content
15,178,008 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi, I'm curious in trying to make a "self aware" picturebox in which it can move around, look for food(another object that I will use for food) and other things that I will think of. It's kind of like a artificial life simulation thing that I want to do. I know it may sound crazy but if anyone can point me in the right direction I will appreciate it.

Updated 20-Jul-12 20:45pm

1 solution

using a picture box for this is dumb. If you can't handle the paint event to draw your objects, then you're not going to be able to build this AI code you're talking about. Your subject line is very confusing and not really helpful, the picture box is irrelevant.

Of course it can be done, but, I don't know how to answer the question except to suggest you look for some AI articles or books.
MR. AngelMendez 22-Jul-12 17:18pm
Thanks, Ill get some practice in that. For the ai articles, I have been trying to look for some and cant seem to find one. Do you know any links?

One more thing, I was thinking about making a class for every mood and some integer values for them.Is this a good way to start or do you have another hypothesis?

Christian Graus 22-Jul-12 17:22pm
I would think a mood as a class makes sense, then you can define behaviours based on mood, etc. I am sorry, AI is one area I've never had the chance to explore. I'd think that sites dedicated to games programming would be the place to look for them. I do think there's at least a tic tac toe game that learns on CP somewhere, from memory, but I'm not sure how much that would help, it just remembers moves that won, and plays at random, at first.
MR. AngelMendez 23-Jul-12 11:53am
Thanks, I will look into that. just to let you know I got some inspiration from the new Tron movie when I saw it last night :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900