Homework 11
Today I began this assignment, and I am writing premortem for this point.
Last assignment didn't go well and this is basically a 3d version of it. But luckily I learned a few things I want to write down. One, is that I should implement a Bi Tree immediately, and modify it instead of what I did last time which was try to write it from ground up. Why? Because Trees are HARD to get the logic right for. I already have a working bi tree, so I'm starting by taking it, and just changing the balance comparisons. That coupled with some objects that aren't directional visually and some more experience working in the opengl environment should yield more successful results.
Update:
Assignment is now completed. It came to a conclusion rather quickly near the end.
Most of my ideas worked well after they were refined. A lot of the opengl display methods were beyond me, though. I left the nodes to plain green balls, the bomb is a red ball, and I added a black block reticule for aiming the bomb shot. One of the most difficult parts was making the balls bounce off each other. I found a 2d algorithm for bouncing balls off each other and was satisfied with implementing it.
My creative part of this was two parts. I implemented the reticule instead of rotating the camera around. And also, if your bomb hits the back wall and bounces off of it, the bomb becomes a node in the tree that just adds to the challenge.
Still unable to add the jar file to this website...