Clan x86

Technical (Development, Security, etc.) => General Programming => New Project Announcements => Topic started by: chuck on July 08, 2006, 12:49:30 pm

Title: httpai!
Post by: chuck on July 08, 2006, 12:49:30 pm
Just another thing like the chatterbot plugin for javaop2, except it runs a mini webserver which you can chat to the bot through.
Simply java -jar httpai.jar brain port. Made it to learn sockets in java, and it has served me well. Post here if you want a copy. =)

Example output (Save it as index.html and double click =):
Code: [Select]
<html>
<head><title>HTTPAI 1.0</title></head>
<body>
<h1>Chat with me!</h1>
<hr />
(You) Dumb idiotic bot<br />
(Bot) OK SO HOW ARE YOU<br />
<br />
<form method="GET" action="/index.html">
<input type="text" name="textarea" />
</form>
<hr />
</body>
</html>
Title: Re: httpai!
Post by: Newby on July 08, 2006, 03:05:39 pm
Sadly this idea reminds me of something Joe would do. Hehe.
Title: Re: httpai!
Post by: Joe on July 10, 2006, 07:41:24 am
Sadly this idea reminds me of something Joe would do. Hehe.
Me too.

I'd like a copy!
Title: Re: httpai!
Post by: Joe on July 15, 2006, 03:35:16 am
Incidentially, you forgot to send BRAIN.DAT along with it. :)
Title: Re: httpai!
Post by: chuck on July 15, 2006, 09:34:19 am
it creates it 8P
Title: Re: httpai!
Post by: Joe on July 31, 2006, 07:33:11 pm
First off, the AI isn't all that intelligent. :)

Second, if anyone wants to try this out, the port is :8080. It took me somewhere around an hour and a half fooling around with paths and extensions and reading disassembled Java code (sorry) to figure it out. :P
Title: Re: httpai!
Post by: chuck on August 06, 2006, 09:33:54 am
Guess i shoulda mentioned its a quick hack thats been slightly polished :P

And its an AI: Artifical Idioticy

:P
Title: Re: httpai!
Post by: Joe on August 06, 2006, 07:54:03 pm
It's idiocy is nowhere near artificial.