Artificial intelligence

We were set a series of task to do with AI, the first one was to create a flash movie that computes the multiplication of the matrix W and vector B use the data of the formation below. The movie contains a handler for initializing the matrix and vector with the given values, and a function that computes the vector-by-matrix multiplication.
The program computes and shows the results for the vector A (i.e. compute the values of a1 a2 a3 …). We had to make the program interactive so that the computation happens on-line after user’s request (e.g. button). Every time a button is pressed, show the code being processed in a text field

a1 = (w1.1 *b1) + (w2.1 *b2) + (w3.1 *b3) + (w4.1 *b4) + (w5.1 *b5)


This Flash movie successfully allows the artificial selection of organisms through the process of selection, reproduction, and mutation. We were required to design new populations of agents in a creative way. Also I have modified the exercises so that the user receives feedback (e.g. text on a text filed, or speech comments) during the evolution process, such as knowing how many and which
organisms are being selected, how many generations have occurred etc.


Task 3 was to redesign the user interface of the game tictactoe (known as 0s and xs).
For example,we could add a function for showing the player’s and computer’s scores, improve the graphics, and so on.