Sunday, 6 March 2011

GridWorld Fibonacci Project


So for my GridWorld private project, we are supposed to choose one project. I am going to be coding Fibonacci project for the next couple of weeks. Till this point, frankly, I have been able to go over thoroughly read all the coding, and the reading material in the packet. So from the look of it, I am supposed to code a gridworld which prints Fibonacci numbers on the blocks and it will hold a Fibonacci bug. I see that we have Actor which is the super class, and then it has subclasses of Bug and Rock. I myself have a very vague idea of what Fibonacci numbers are and how they work. There is a Fibonacci sequence that I need to be aware about. Till now I have just reviewed the packet and I will start working. But I have some general questions that I will ask Mr.Daly tomorrow in class. I have started coding the Fibonacci rock. I have added the instance filed and initialized it in the constructor given the parameters. I set their colour to black as default but I got stuck on setting white as the background because we have to pull some Super method. I will ask about this tomorrow in class. 

No comments:

Post a Comment