Tuesday, October 18, 2011

Project 4

1) This project was a very simple text based adventure, which means it is a game where you choose which paths you take but instead of graphics giving you a description, it uses words. The applications I used are the same as ever; The Terminal to run and test the program, g-edit to write the program and within g-edit I was using the programming language python. I was able to meet all the requirements given for these projects.

2)The topic that I used and incorporated the most was: Creativity and Innovation (Make it!). The reason I used this more then the other topic choices was the fact that this was a "from scratch" project, and besides following the template given by the book, I made this project all by myself. That it itself is creativity as well as innovation. The second thing is the fact that I had to basically write the beginning to a book.

3) This project taught me one thing very well; even small programs take a lot of code and a lot of time to make. If you run this code it would only take you 5 minutes to run and play the whole game. But if you look at the code it is over 53 lines of solid code which took me 3 whole days to make.

4) The thing I'm most proud of, is the fact that this project is the first real game I've ever made. This is especially interesting because of the fact that I've wanted to make my own game for as long as I can remember. I know this is only a text based game, and a very short one at that but the point still remains.

5) If i were to start over I would make it longer. I would not do anything over again but if I had more time I would make it longer. Make the doors go further on into more rooms. I could possibly add a third option for each problem presented.

6) Here is a link to the code. Go to the page and click on "Project4.py" To run just download, then run off the terminal. It runs in the terminal itself.

a) This is a screen shot of the game's code. Here are links for zoomable versions;
b) This is a screenshot if the game running. Here is a zoomable version; http://i.imgur.com/sgNaZ.png

Tuesday, October 4, 2011

Project 3

1) This project was a test over the material I have covered over the last 3 weeks. This test consisted of me taking a poorly constructed code that was not in working order, and fixing it. The programs I used are the same I've used before; the terminal, and g-edit. I used the terminal to actually run the program and for de-bugging and I used g-edit to edit the program. I was able to meet all the requirements.

2) The topic that my project incorporates the most is Communication and Collaboration. First of all I took the messed up program from the books website so the project in essence itself was collaboration. Also programming is all about communication, it is impossible to program without communication, or at least it would be very, very hard.

3) By doing this project I learned that people naturally make mistakes when programming, and if they say they don't, they are lying. I also learned that collaboration as well as communication are some of the most important tools at a programmers disposal. Without it, programming would be very hard, and learning how to program would be incredibly difficult.

4)What I am most proud of in this project is the fact that the author warned this exercise would be very hard, and I found it relatively easy, and not very time consuming. I think this means I am ready to advance to the next part of the book.

5) Regarding the question as to what I would improve if I were to start over; this was less of a project then a test, and on top of that a test that cannot be graded. With this in mind, I took the test to the best of my abilities , so I do not believe I could alter it to be better without learning more and therefore cheating.The only way I could improve is by completing it faster.

6) Below are the images of the before and after program. If you click on the links above them you can see a close up so that it is readable. If you would like to see the new program in action, click on this link (http://azrathud.com/larry/), click "Project 3" and download the files, then just run in terminal.

P.S. This is the source for the before pictures.
It is from the books website.

Before: (1) http://i.imgur.com/2iUzG.png (2) http://i.imgur.com/MUNvY.png

After: (1) http://i.imgur.com/2iUzG.png (2) http://i.imgur.com/6DchM.png