Friday, March 1, 2013

Sixth

Hey everyone,

It's been a while since my last SLOG, because of reading week. Anyways, I finished working on the very first project of the semester for computer science today. At first, I thought it was extremely complicated, especially the ball one. But after reading over the whole outline a couple of times, I realized that it was pretty simple. Most of the coding required for the ecosystems part were codes used previously in the course, such as the check-expect. I thought I completed it, but once I ran it, all it produced was a picture of a fox beside a picture of a mouse. The pictures just stayed on the screen without any other actions occurring as time passed by. All tests passed, so I'm really confused about the outcome. Oddly, the end result of the ball part was the opposite. It produced a working simulation of the stop sign bouncing off all 4 sides whenever it came in contact. However, a message pops up saying 1 out of 12 tests failed. The error was located in line 77, which was already provided in the file. I don't remember exactly what it said, but it was regarding the direction "up" and how the expected value didn't match the actual value. My goal is to find a solution to both problems before the due date.

-JHL

4 comments:

  1. thats cool how you figured out the ball.rkt program because im still having troubles with it... i wonder what you did that me and my partner didnt think of... :/

    ReplyDelete
    Replies
    1. sorry for such a late reply. Normally I don't receive comments on my blogs haha. I think most students had trouble with the definitions. Going to the office hours helped me get rid of my final errors though.

      Delete
  2. Congratulations for successfully finishing your project! :)

    ReplyDelete