Wednesday, February 13, 2008
19th Lesson... Helping is good
Today I helped a bunch of people who didn't finish their madlibs. I read over chapter 3 and it seems very confusing. Anyhoo, i'm ready for it...
Tuesday, February 12, 2008
18th Lesson... 1st Program!
Woot! Today I finally accomplished something on Python. It's not much and is probably the most basic of all basics in Python, but I still feel proud! Now to go home and meditate on all I have just learned. My madlib is ... mediocre?
Monday, February 11, 2008
17th Lesson... Time to study up!
Ok... I definately need to look over the tutorials at home now... before I fall behind too much. We're dealing with a considerable amount of programming definitions, and the lessons are starting to make more sense now. Today I finished some of exercise 2, and will probably look over them again at home tonight. I'm glad we got firefox so that we can now view the newer version of HTLCS... so much more friendlier than the old one! But I still think Safari is the browser!!!
Sunday, February 10, 2008
16th Lesson... Functions
Today we dealt with basic python functions. It was very vague to me and I could not apply the syntax code very well... so I got stuck on the bruce bruce bit. I have no clue what paramteres are for and why even bother writing them in between the brackets next to the function name... Nor do I have any clue to why they chose to use Bruce. It's getting a lot harder!
Monday, February 4, 2008
15th Lesson... THE END OF GUIDO
Yay! Today we finished with GVR... and moved on to Python. Python seems complicated though... Didn't expect any less. We covered the basic commands involving the use of variables and strings. It's kind of hazy for me to see the point of Python... In GVR our programs were designated to Guido's actions, but in Python it seems as though we have no definite thing to program.
Crowde MAZE Commands
define backup:
turnleft
turnleft
move
turnleft
turnleft
define turnright:
do 3:
turnleft
define solve:
if next_to_a_beeper:
pickbeeper
if front_is_clear:
move
solve
backup
if left_is_clear:
turnleft
move
solve
backup
turnright
if right_is_clear:
turnright
move
solve
backup
turnleft
while front_is_clear:
move
if front_is_blocked:
turnleft
turnleft
solve
turnoff
turnleft
turnleft
move
turnleft
turnleft
define turnright:
do 3:
turnleft
define solve:
if next_to_a_beeper:
pickbeeper
if front_is_clear:
move
solve
backup
if left_is_clear:
turnleft
move
solve
backup
turnright
if right_is_clear:
turnright
move
solve
backup
turnleft
while front_is_clear:
move
if front_is_blocked:
turnleft
turnleft
solve
turnoff
Sunday, February 3, 2008
14th Lesson... Guido masterz the maze!
This lesson I learned how to use the define in its own define command... a paradox in its self. CONFUSING
Subscribe to:
Posts (Atom)