Jump to content
xisto Community
Quatrux

Artificial Intelligence Program Any ideas?

Recommended Posts

Hello,I need to create a quite simple Artificial Intelligence program with any language I want, I am thinking of just using C#, but the thing is that I can't think of any simple AI program to create for myself, so I though maybe anyone has any ideas of what could I create? I don't want to lets say create another sudoku solver or tic tac toe game..So any ideas? :mellow: I'm also thinking of something like when answering questions you get to different sections and get different questions and in the end get a suggestion of something? :P

Share this post


Link to post
Share on other sites

hm... thats a tough one. if you're gona do it with C language i think you need to make several files each containing certain key words. First file fill it with bad words , second with jokes, etc..whenever a user inputs something every word is compared with the records, if it is found in the bad words files the loop is broken and a response like "didn't your mother tell you not to say that" is printed or something, and if someone enters lets say "sad", a response like "Don't be sad" or "I'll make you feel better" and then a joke is printed out. Its gona be hard, i suggest doing it with something other than C language, but iam still a newbie in programing =)

Share this post


Link to post
Share on other sites

Not necessary files. But we should first think differently, start with what we want to do, then how to do it, and at the last moment will the means to do it arrive.Usually Artificial Intelligence things are based on rules, so you should first create a set of rules. Then your IA will read the question and give the answer following the involved rule.So, you should create a decision-help program, which receives a question and gives an answer.The second creteria of IA is the ability to learn. So, when a new rule appears, the IA should be able to learn this rule and use it for future decisions.Concerning the way to do the things, I would not use files. C language is able to use arrays, and arrays are very easily and quickly accessed by the machine. If the memory usage is too hight, the operating systems are able to put some parts on disk, so let the OS manage the need to use the disks and do everything in memory.

Share this post


Link to post
Share on other sites

Well, leave the programming to me, as it's not the main thing, I know how to accomplish things, but I just can't think of anything what could be having some AI in a little program, all I need are ideas and if I like them, I will do them.. My friend has thought to create a program, which finds the best/shortest path from a labyrinth, which is simple and brilliant, but I can't think of anything like that yet :mellow:

Share this post


Link to post
Share on other sites

The most brillant idea should be that, after finding the solution, your programs explains why this solution has been chosen.Another subject could be, how to synchronize the traffic lights (red light stopping the cars, green lights saying "go"). You draw your city map (with the streets and the buildings) and you show how a car goes from one location to another one.The interesting thing would be to choose the optimal solution for a given goal.One way is regulating a traffic (main street traffic should be 50 kilometers per hour)Another way would be to make the time shortest on the path between the residential suburb and the city factory, with the constraint that the north-south traffic should be no less than 30 kilometers/hour.

Share this post


Link to post
Share on other sites

Have you cionsidered an AI for playing a fairly simple game with fairly simple rules. For example an AI for playing black jack or a card game of some sort. Perhaps a Dice game like Yahtzee or Greed. That is all I can think of off hand though all of them are basically a large pile of if/then/else statements.

Share this post


Link to post
Share on other sites

Well, I liked the idea of Yordan to do something with traffic-lights, so my initial idea was to do something with them, I searched the web for some images of roads and etc. and later I found out that I will have some problems with traffic-lights as they need to show both sides on a map, but initially I liked the idea of something with roads and a car, so I did the same idea I thought of by reading Yordan's post, except I did it using road signs, if somebody is interested here is a link to a google translated version of it:

dev.quatrux.net/DI/DI.php

DI stands for AI in my language, as you can see I did it using only with some PHP and mostly Javascript with HTML+CSS, Javascript is not optimized to much, but it does the work good, it runs on Opera, Safari/Chrome and IE8 really fast, but on Windows Firefox it's quite 4 times slower.. on Linux Firefox it is as fast as on Opera, don't know why.. Also it does not work as it should on IE6 or IE7 as I been said by some of my friends.

I found some sdl/flash games and took some screenshots, created a map using Gimp from those screenshots, found some images on google and altered them with Gimp to suit my needs in this little thing, it also should play a sound when driving of a motor engine starting up, as it's a WAV file..

How to use it:

Just select from the combobox to select a destination and on the map using your mouse click once for A point and next for B point, you'll see the best available path to go, when 2 points are selected you can click Drive and should hear a sound and a moving car by the best/fastest path, it's using the path-finding algorithm of A*

Also, the main point is the road signs, when you click on a road sign with a mouse you'll be able to place it on the map roads, the STOP sign will make the car stop before the sign for 1 second, the sign with PEOPLE will make the car drive slower than usually and the sign with WORKERS will close the road at that square, so the car will need to find another best path to not go through the closed road if it's possible, thats the whole idea of this AI even if you can call it AI :o

By the way, when putting road signs, to comeback to choosing destination, select from the bottom combobox. Furthermore, some text wasn't translated by google, and the Alert messages are also in my mother tongue Lithuanian, so just push Ok ;]

Map coordinates are just XY values, the Grid mode is just for fun and the territory mode justs shows R for Road, T for Terrain and C for Closed road. ;]

Well, thats about all to control it :o

By the way, at the beginning it may not work very fluently, as the images load or the sound needs time to load, after some usage, several clicks and a refresh everything seems to work as it should.

Edited by Quatrux (see edit history)

Share this post


Link to post
Share on other sites
Help with some idesArtificial Intelligence Program

HI I have a very serious situation... I have been asked to do a project involving AI. I decided to choose AI in games.. I am a total newbie to AI and game programming.. I have 3 months to finish this project and am doing it alone..I have been asked to show AI concepts in the game so that the project could be accepted. I have no clues as of yet on how to proceed I glanced through some AI books and it had complex equations describing various algorithms... Also I am just and rookie in programming.. SO is it possible for me to accomplish my project at all?? Please help as it is very important to advance my education... PLease where should I start and where to learn AI from scratch??? HElp me??? 

-question by touches

Share this post


Link to post
Share on other sites

Hello ... I am by chance beginning a project involving AI. I'm not a programmer, but  PHP is one of the languages I can hack well enough, so that's where I've been looking too.

The project is basically a shoutbox, or chatroom , with a brain. And the AI, in various forms, is the chaperone. Nothing so new there, but I want to apply some intelligent connecting and filtering of users and posts, and the whole system is to learn.

If you're still looking for a project, please let me know!

 ai@withcourage.Com

Share this post


Link to post
Share on other sites
The Bot that KillsArtificial Intelligence Program

I have been researching an area called " Artifical Telepathy " and the rumored field of discussion, " Heart Attacks ".. I have been collecting personal information on deceased people who are in some way related through affairs of business.. My question is. Can there be a artifical inteligant bot with a working photon ablity using a wireless cellular service to access potental targets slated for termination.. This may seem a little of base or maybe even strange to you but if you have more then an idea of what Iam asking, tease me with some content of info..

-question by William Patton

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.