
This blog is created with the help of the CS106a program in Stanford University,USA.This program has helped me in the study of Java in a large extent. So, thank you Stanford and Mr.Mehran Sahami.
Tuesday, May 24, 2011
Checkerboard Problem
This problem has a nice decomposition structure along with some interesting algorithmic issues. As you think about how you will solve the problem, you should make sure that your solution works with checkerboards that are different in size from the standard 8x8 checkerboard shown .
Odd-sized checkerboards are tricky, and you should make sure that your program generates the required pattern in a 5x3 world as well. Another special case you need to consider is that of a world which is only one column wide or one row high. The starter folder contains several sample worlds that test these special cases, and you should make sure that your program works for each of them.

Labels:
Karel
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment