Qbasicnews.com

Full Version: Any Qbasic programs for Artificial Intellligence?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if anyone has come across any A.I. programs in qbasic, such as chatterbots or anything else like that.
Thanks for whatever replys or links you may provide.
Bill :neo:
http://www.qbasic.com/classic/c5.html

There are a few other ones that I've seen... most of them aren't highly developed, because, if you think about it, one would have to input all possible responses for any number of possible inputs... for example, you would have to check for variations on salutations: "Hi, Hello, Greetings, Salutations" should all result in one (or a few different) responses via the chatbot.

That being said, A.I. has always facinated me because I don't entirely understand it.
I think qb45.com has a few, not very good ones...
Eliza the psychiatrist is annoying enough to make you go to a *real* psychiatrist...
Tommy McBurney's port of the Minimax chess engine
http://home.pacific.net.au/~tommyinoz/minimax.html
It's a port to PowerBasic, but it includes the original "no frills" engine in QB by Steinwender-Donninger
I was always fascinated by it, but never found anything worth talking home about.

I use python regularly now, and with regex, something like this becomes much more manageable. You're expressions only have to be intelligent enough to catch what the user's key words are. It could be done in BASIC, but the effort involved would be like getting a bare-bone regular expression parser in place.