answersLogoWhite

0

Example of artificial intelligence

Updated: 12/13/2022
User Avatar

Wiki User

12y ago

Best Answer

Example:

In this example we will try to demonstrate a very simple practical example of Artificial Intelligence programming in Delphi using Delphi arrays.

I have chosen a Nepali game named "GATTA TIPNE KHEL" (meaning pebble picking game) for this purpose. We can see small children playing this game in the playground. In this pebble picking game a pile of some pebbles is kept in the ground. One of the two players picks one, two or three pebbles at a time in his turn, leaving the pile for the other player to pick for his alternate turn. In this alternate picking process, the player who picks the last pebble(s) will be the loser and called to be a DOOM in Nepali.

The main logic of the game is to leave the pile of pebbles with 13, 9, 5 or 1 pebble(s) for the opponent to pick. In the program the starting number of pebbles are set to 17, 21, 25, 29 … etc. so that computer could win always if it does not make a mistake. But in the real play computer seems to be gradually learning by correcting mistakes of the previously played games. At last it finds all its mistakes and corrects them to become an unbeatable champion.

It seems computer simulates the psychological learning process of animal, learning by correcting and not repeating the mistakes. A multidimensional array of elements (1..4,1..3) is chosen as the instruction book for the computer to pick the pebbles. The instruction book contains four pages with three lines of instructions to pick pebbles. The first line instructs to pick a single pebble, the second line instructs to pick 2 and the third line instructs to pick 3 pebbles. At the beginning, computer chooses a random page and a random line of instruction to pick the pebble.

When the game finishes, if computer looses the game, the last instruction is red-marked (erased) and the instruction will not be read in the future. After playing many games, all the instructions leading to a lost game will be red marked and there will be left only the instructions those lead to a win.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Example of artificial intelligence
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is an example of artificial intelligence?

an example of AI would be a PC. they have voice recognition.


What is the reason of disadvantage in artificial intelligence?

The disadvantage of artificial intelligence lies in the source of it. A computer for example has "artificial intelligence". The problem is how to discern whether it has malfunctioned. The best course is therefore to have a duplicate machine as a back up to see if both computers are matching in their results.


What is artificial intelligence with simple example?

sure with the answer, If any body knows pls guide me


What is an example of Artifical intelligence?

Artificial intelligence is increasingly a part of our daily lives, as seen by the use of virtual filters of our faces when shooting photos and the use of facial ID to unlock our phones. Artificial Intelligence (AI) is disrupting business as usual in a number of ways. Examples of Artificial Intelligence, Robotics, Healthcare, Self-Driving Cars Face ID, the search algorithm, and the recommendation system are all examples of artificial intelligence. Artificial Intelligence (AI) is a discipline of computer science that focuses on the creation of intelligent machines that can think and work.


When was Journal of Artificial Intelligence Research created?

Journal of Artificial Intelligence Research was created in 1993.


When was A.I. Artificial Intelligence - album - created?

A.I. Artificial Intelligence - album - was created in 2001.


When was A.I. Artificial Intelligence created?

A.I. Artificial Intelligence was created on 2001-06-29.


When was Association for the Advancement of Artificial Intelligence created?

Association for the Advancement of Artificial Intelligence was created in 1979.


When was Electronic Transactions on Artificial Intelligence created?

Electronic Transactions on Artificial Intelligence was created in 1997.


When was Artificial Intelligence II created?

Artificial Intelligence II was created on 1994-05-30.


What is the scope of artificial intelligence in India and can i get a job in primier setups in India after doing MS in artificial intelligence?

artificial intelligenge scope in ondia


What has the author Nils J Nilsson written?

Nils J. Nilsson has written: 'Learning machines' -- subject(s): Artificial intelligence 'The mathematical foundations of learning machines' -- subject(s): Artificial intelligence, Machine learning 'Artificial Intelligence' -- subject(s): Artificial intelligence