CHALLENGE
I wanna see who can make the best simple Console application that uses AI. What i mean by that is, it will talk back to you... You talk, it responds... I just wanna see who can do it...
Good Luck
Printable View
CHALLENGE
I wanna see who can make the best simple Console application that uses AI. What i mean by that is, it will talk back to you... You talk, it responds... I just wanna see who can do it...
Good Luck
I've been interested in doing something like this for a while: can someone give me a start: how do you get the first thinking part? how does it generate it's own sentences.
You give it a basic vocabulary by defining sentence structure and grammar, then write up a file for it to read from with all of the words/phrases that it can use in response. The program will read from the file a phrase or several words pertainng to the input and build a coherent response. If the user inputs something that the AI isn't programmed to respond to it will simply respond with a default statement, such as "I'm sorry, I don't understand".
-Prelude
Of course you do ;)Quote:
... I just wanna see who can do it...
i wrote this as one of my first programs. It has a VERY simple AI if you can even call it a AI. But it might be of some use(although I can't figure out for what :-D )
i wrote this as one of my first programs. It has a VERY simple AI if you can even call it a AI. But it might be of some use(although I can't figure out for what :-D ) The other problem with it is it written in straight C.
Doesn't compile. Not surprising, seeing as:
Compare strings with strcmp with double quotes - or - compare single chars. Make up your mind which you are doing.Code:char plans [128];
if(plans == 'yes')
And:
tolower accepts single chars passed by copy. You can't give it a pointer to a char.Code:plans = tolower( plans );
This seems like an interesting, fairly somewhat simple challenge. Something to keep me occupied when I am bored.
Like I said I wrote it when I first started. I could probaly right a much better one now but owell.
But if that was the finalised source code, how did you even get it to compile?
Isometric, u might want to change ur sig before some people here get very mad.
samG, I think isometric is ignoring you... :)
btw, nothing wrong with the sig. I say...
And now that I've taken the time to look at Isometrics source I must point out that this is in no sense anything like the AI suggested by Silentsharp. What he's talking about is a Turing Machine, a concept developted by Alan Turing (check the site, its actually quite interesting) of a machine that could talk back to you.
The fact of the matter is that to date no one has been able to convinsingly build a Turing Machine (so it's pretty difficult...:)).
The difference between a Turing Machine and Isometrics source is that a the machine reacts on your questions instead of asking the questions, expecting a 128(max) char string in return and then using that string in a standard reply.
With a Turing Machine you would have a complete conversation without you notecing the fact you're talking to a machine. If anyone here would be able to build such a program I think he or she would not only be an instant "super member" but he or she would also probably be eligable for a nobel prize...;)
>to date no one has been able to convinsingly build a Turing Machine
That's not entirely correct. In reality several turing machines have been created and successfully fooled people into believing that they were talking to another human. A turing machine is rather easy to create seeing as how people are so gullible.
A true AI that can respond fluently and accurately to any input is incredibly difficult, if possible at all. If you simply want to make a turing machine then it shouldn't take too much work, but if you want a real artificial intelligence you've got your work cut out for you.
-Prelude
I have seen this done on the AI movie website. It is pretty amazing, though it can be very slow at times due to web traffic. I would sugest you check it out if you get a chance:
http://www.aimovie.com/
You would have to give it the ability to work, learn and grow, and some definition of right and wrong. Than you would have to create a dependancy or weakness so that it understand life. Since the human brain is a computer, it makes sense that a computer entity is possible.
Neural nets, anyone? I have made some neural net code, but I haven't got round to the back propagation code, yet.
Im sorry I was not ignoring anyone. I just normal dont check this forum since I'm just starting C++ (I already know C and win32 so it should be easy but...). The program was really only meant for pactice of accepting input and reprinting the input as output. I acturally got the idea from a friend of my dad who showed me a similar program several years ago but it was much longer. As for how did I get it to compile, I dont get any errors on Borland 5.2 but the IF statement is always false now that I try it. I relise that it is not that scientific but I figured there was nothing wrong with posting it and I'm sorry it arose such a contreversy.Quote:
Originally posted by Mbrio
samG, I think isometric is ignoring you... :)
btw, nothing wrong with the sig. I say...
As for my sig its only a joke. Although I'm not Christian I have no bad feelings toweards them. And towards people getting mad then I'll probaly get flamed for saying...
"The gods can either take away evil from the world and will not, or, being willing to do so, cannot; or they neither can nor will, or lastly, they are both able and willing. If they have the will to remove evil and cannot, then they are not omnipotent. If they can, but will not, than they are not benevolent. If they are neither able nor willing, then they are neither omnipotent nor benevolent. Lastly, if they are both able and willing to annihilate evil, how does it exist?" -Epicurus, Greek philosopher, (341-270 B.C.E.)
Don't take offense Religous people if thats what you want to believe more power to ya,if you are a Buddhist great, Hinduism your thing Fantastic, Athiethism where its at Super, It doesnt matter what you believe all the matters is that you truely believe and are not just saying this or that for the fact that its popular or on a magazine cover.
Who has heard of billy and daisy??? Can anyone make a programs like that? I've seen a few...
i posted something at the FLASHDADDEE PROGRAMMERS OPEN board(sorry for the caps, but it's done that way on the site). maybe it'll become the next challenge.
What about Zippy in Xemacs? ****ed up!