Thursday, 14 June 2012
16 June
Was absent from school today, but i plan to address my double letter problem with my program. I think i will do this by using for letter in set (x): instead of for letter in x: Will keep this blog updated throughout the weekend as the assessment is due next week.
Monday, 11 June 2012
12 June
Today i have fixed my problems from version 2 of the program. the program does not yet recognize double letters this is something i plan to fix in version 3 of the program. I also plan to add a module called progress that will tell the user the guesses they have guessed and how many more they have to complete to win. It will also notify how many strikes you have. I plan to tell the user how many letters the word has at the beginning of the game too.
11 June
Today I fixed my “How many games do
you want to play” Function in my algorithm. I made It work by adding it to the
main() function, a silly mistake that I fixed very easily.
Thursday, 31 May 2012
1st - June - END
Today i looked at a number of games you want to play function adding to my version 2 of my program.
This didn't really work and this is something i will address next lesson with a clear head.
1st June - Start
Today i plan to add a "How many games do you want to play" to the start of my program. this will be included in version 2.
Thursday, 24 May 2012
25/May - End
Today i put my first version of my program into python. It had many bugs.
This was my first run after writing it out. After this i went back to my code and found that i had repeated one of my statements, on accident. I then removed the mistake and ran the program again.

This was my first run after writing it out. After this i went back to my code and found that i had repeated one of my statements, on accident. I then removed the mistake and ran the program again.
This time i found a typo in my code. I now realize i am going to have a lot of these that i will have to proofread my code a lot.
Something good did come out of this test as i did get a chance to test my unexpected boundary cases, which seem to be in working order. Hooray!
I found what was causing the error and all it was, was a simple (x).
I then fixed this and tested my program again.
The program seems to run! It has working inputs and tells the user if the guess
is in the word or not but does not end once finishing the word. The program
will need a lot of work still to be done on it but this is a great step for my
assessment as i now know that my program kind of works.
==================================EDIT==================================
I tested my program with the word "hi" and found out that my program does end, it just doesn't recognize double letters in a word. I knew this was going to be a problem but I will find a way around this. The program also tells the user when they loose, which is great because it means it is working properly. If the user gets 12 guesses wrong it tells the user they loose and what the word was.
25/May - Start
This lesson i plan to put my algorithm v2 into python for a test. I realize it will have many bugs i will have to fix.
Subscribe to:
Posts (Atom)

