Artificial Intelligence


There a multiple types of intelligences and in 1983 a man by the name of Howard Gardner found out what those are and wrote a book called Frames of Mind: The Theory of Multiple Intelligences. The first type of intelligence being musical-rhythmic and harmonic (sounds, rhythm, tones, and music), the second being visual (seeing etc), the third being verbal (reading, speaking, writing and language), 4. logical (abstractions, reasoning, numbers and critical thinking), 5. kinaesthetic ( intelligence are control of one's bodily motions and the capacity to handle objects skilfully), 6. Interpersonal (interacting with other people), 7. Interpersonal (interacting with yourself), 8. Naturalistic (nurturing and relating information to one's natural surroundings), 9. Existential (spirituality). These 9 kind of intelligences are key to you personality and the person you are.

Chatter bots

A chatterbox is a computer program designed to have a full conversion with one or more human users through a chat room.Its pretty much small talk with a computer. its actually a pretty cool consent some of the common on line chatter bots include Clever bot, Jabber wacky, and A.L.I.C.E. The first chatterbox was called ELIZA, and was published in 1966. The first one that I started using was the most popular one and that was Clever bot and my impression of it was that clever bot was pretty cool, I've used it in the past when it was out there on the internet and didn't got into it or found any importance to it but now in computer science I'm enjoying it because of the whole AI unit. The next one that I used was A.L.I.C.E I fairly enjoyed it all I did was make fun of it and it did not take that nicely. The final one that I used jabber wacky and I didn't really use that one it cool and all and a lot better than A.L.I.C.E but I didn't find it interesting.

Programming a Chatterbox

today in class we actually got to program real chatter bots. The point of this assignment was to create and program the most realistic chatter bot that we could.So once given the assignment I went right to work, I started by programming my chatterbox to say "Hi what your name? Mine is Chad ;). I am a dog" after programming him to do that I made the chatter bot have the ability to take in human input so when asked what's your name it was able to respond "Hi (name input)". I was also able to have him Read key phases and be able to respond. But it is still a work in progress.

Fact bot

A fact bot is something really close to a chatter bot. A fact bot can connect to the internet and get facts off the question you ask it. In this case we had our chat bots search wolframalpha a popular question asking website. The fact bot would search the website with our question and then give us back the most popular answer.

Game Making in Python

The fist game the class programmed in python was rock paper scissors. As simple as this game is I thought it was going to be a very easy task but I was mistaken on what I really need to teach the computer. So, The First thing I did was import the random function, the reason I did this is so that the computer could randomly pick rock paper or scissors. After that I literary had to teach the computer how to play rock paper scissors, to do this I told the computer that if x=rock and the if the computer choose scissor that it should print "damn you beat me" and if the computer choose paper it should print "HA! you lost to a computer" and if it randomly choose rock to print "It's a tie!" and then I did this same thing for paper and scissors. And once I did all of that I have a fully operational game of rock paper scissors"

The next game we programmed in python was hangman. To program this game the first thing I need to do was import random the reason I need to import the random function was so the program would randomly a word to play with. After that I had to draw each board of hangman this took a lot longer then I expected to draw out all 7 boards of hangman. After do that I had to teach the computer the basics of hangman to do this I gave the computer a list of 5 or so words then I would have the computer take raw input from the user and have it check if that letter was in the in the word it randomly chose, if the letter was in the word then it would print the letter and where it goes in the word but if the user typed a letter that is not in the word the computer would print " that's not in the word" and then it would print the new board.

Tic Tac Toe is one of the biggest stepping stones in the area of artificial intelligence. on the first day of tic tac toe I was really able to figure out what was going on, the first day was all about printing the board to play the game on which came easy to me, but I had no idea how hard it would get from there. Now its Day 3, my goal for today is to modify and make the code better then it already was. To do this I had to sit down and read my code line by line to really be able to understand what it all means, So that's what I did. At first I still had no idea what I was reading, so I read it again, and again, and again....And I still didn't get it. So what I did was I focused on one part of the code the part said "xtest a" I had no idea what this meant so I looked around it and I found out that the board was split in to letters and x test a was checking if that spot was taken by somthing else. After that moment I read through the code again and this time it all made scene to me. I was able to figure out why the computer is always going to win. After that break though moment I was able to fix some bugs in the program such as one where it wouldn't let you exit the game once you have played though once. But now I have a very good operational tic tac toe game.