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
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
~Silencer~
What is this "C.O.D.E." you speak of?
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
My best code is written with the delete key.
Of course you do... I just wanna see who can do it...
Current Setup: Win 10 with Code::Blocks 17.12 (GNU GCC)
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 )
"Christ died for our sins. Dare we make his martyrdom meaningless by not committing them?"
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.
"Christ died for our sins. Dare we make his martyrdom meaningless by not committing them?"
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 );
Current Setup: Win 10 with Code::Blocks 17.12 (GNU GCC)
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.
"Christ died for our sins. Dare we make his martyrdom meaningless by not committing them?"
But if that was the finalised source code, how did you even get it to compile?
Current Setup: Win 10 with Code::Blocks 17.12 (GNU GCC)
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
My best code is written with the delete key.
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/