Archive for June, 2008

June 7, 2008

So I recently finished chapter two of my book. This is the chapter where things are starting to get a little more complicated.

I have been learning about boolean logic, statements, and operators. It’s pretty much a lot tougher now. But the cool thing is I’m actually writing stuff that looks like python now. It’s a lot more lengthy. It’s not just the simple stuff I used to do, like making strings and adding them together.

It’s especially cool cause In the Python in Practice section of the book we actually wrote a program that makes a bunch of tanks fight each other. I changed the numbers around a little so that the tank Bob would win.

I also wrote a little program that would pretty much do the same thing as rolling a die. It would randomly pick a number from one through 6. Yet again I played with the numbers a little so that it would randomly pick a number one through 100.

That’s pretty much everything I’ve been doing. I change a lot of the code around so I can learn it better. If I didn’t I would probably drive my self crazy with the word FUGU!

PyGame!

June 5, 2008

the book

Okay so today I started working on making a game with my brother. It’s fairly easy, except for some of the little details. It is going to be a game we make using python. We’re using a book to help me start learning python. It’s called Beginning Game Development with Python and Pygame.

So today by brother quizzed me on chapter one. It was pretty easy. Then we started chapter two. That’s when all the problems started. I was having problems with extra spaces at the end of the things that you can’t even see when the books give you examples of what it looks like. But it’s okay.

I learned about loops. We also talked about the differences between lists and tuples. Tuples load faster, but are immutable. It is pretty much cool!