AI Programming

What is an AI?

An Artificial Intelligence can be described as a mechanical thought or a mechanical input and output. In today's world AI's are being created all over the world by people.

Trying to make an AI. (First Attempt)

On 3/31/2014 I tried to make a chat box AI program. However I was not successful in my first attempt. So far it is very difficult for me to troubleshoot. Nevertheless I still have much to learn about AI programming and so I feel confident about making the fixes as time goes on.

Trying to make an AI. (Second Attempt)

During the second attempt on making the AI program, Chatter bot. In the beginning on trying to troubleshoot the program I realized that I was using the wrong type of Python. I was using visual python instead of python 2.6 or higher. What this did was that it did not really know what to do with the code. It wasn't until then I moved the code over to Python 2.6 and with the help of my fellow class mate, Estela Miranda, we added more to the code itself and then the code started to work.

A Newer Version Of Chat Bot.

As I go deeper into the understanding of AI programming I learn more things about it. As a result our class ended up making a new type of chat bot. This newer version will actually receive information for example how many people are on the earth and it will search and find the number for you.

Here is the example


Who or what is Watson.

Watson is a computer program very much similar to what I have been working in class however it is more advance. Watson is able to look at key words from the jeopardy questions and go through its own database and say the answer with the top result.

Here is an example of Watson in a jeopardy match against human contestants.

Making Hangman on Python

On 4/4/13 we decided to work on a new AI program game. We went with the game hangman because we thought it would be a easy and quick program to code. We had some problems during the making of the game, however we were able to finish it with no problem.

When running the program you will get something like this...

Making a Tic Tac Toe Game

On 4/7/13-4/8/13 we have been working on making an Tic tac toe game with a board and everything. During my own time into making this game I ran into many problems and bugs when trying to configure out the game. I had bugs from simple syntax errors to the board of the game not appearing. However once I was able to troubleshoot these annoying bugs I was able to get most things to work. I still need to finish the coding for when there is a tie and the coding for when there is a loser/winner.

And as a result of the current coding involved the program looks like this.

Making the AI for Tic Tac Toe.

On 4/9/13 we worked on an AI program to play against while at the same time finishing up the code from before and completing the 2 player Tic Tac Toe Game.

By Adding this tiny bit of code into the 2 player Tic Tac Toe game you are able to make it into a 1 player Tic Tac Toe game. What this code does is that it makes the second player of the game into a computer. However the way it decides on which spot to take is random. This means that the computer will not try to win and is very easy to beat.

Currently I am working on trying to make the computer AI more competitive meaning making it harder to win. By doing this, it will make the Tic Tac Toe Game more fun and interesting.