We're taking a break from GridWorld for now. We're returning to Cay Horstmann's masterful text, Java Concepts. Chapters 7 and 8 are about Loops and Arrays respectively. We are writing a class called Roman right now with static arrays to do arithmetic with Roman Numerals! We have Roman using Strings and NewRoman using static arrays and for loops on pastebin (see link below). Programr is cool for posting code that you can embed and run, but it's a bit buggy, so I'm back to pastebin!
Then we'll work on the ShoeLace class using the ShowLace algorithm, for each loops and ArrayLists to find the area of polygons based on vector cross products. Finally, we'll write Chess960.java to generate random chess boards and record chess games with a mix of static arrays and ArrayLists as well a 1D and 2D arrays!
After all that, I think we'll go back to GridWorld Part IV. We'll also do some chapters on inheritance and polymorphism, then recursion and static classes and, finally, searching and sorting. Don't forget, we covered chapters 1-5 thoroughly before even starting GridWorld Parts I-III.
We are postponing Take Home Tuesdays. We are not ready for Take Home #4 as yet since its about iteration and loops.
Here's our ScreenCasts and Code for this last week:
Well, that's all folks!
Teaching with Technology,
No comments:
Post a Comment