Friday, November 20, 2015

Csc104 second blogger.

     Time passes silently, we've almost been the end of terms as we take glance at the calendar unconcientply.  In this week we've been through the first project of csc104 which requested us to build a maze. In the duration of the project, we've met some useful functions that we had to define them ourselves. For example, "count-in" helps us to count how many cells adjacent to the given cell; "random-element" gets us a random cell in a list; "try-move" prevent the catty from move off the grid and move on rock and shrubs. Frankly, first time seeing the project I felt tough as we have never been asked to do such a huge task. Secondly it requests us to be very careful about every single clause and make sure we do right as far otherwise we cannot move on. As we doing it, one main problem is rocks and shrubs were filled all over the maze except one cell where the catty stands on. After checking all the functions over and over we found out the bug was on function "try" since we set the wrong condition. Another problem was how do we make the catty cannot move off the grid. Finally we got it because we set "and" instead of "or" for the boolean which was very dump. 
     All in all, we made it perfectly ( I think..) at the end. I first time find how excited and overjoyed my partner and I when we see the catty is actually move in the maze smoothly. It's really expressive and I appreciate those moment when we find out the problem and solve them one by one until we make it. : )


   

Tuesday, October 27, 2015

First slog for CSC104

  Well. It's been a long time I haven't post something over here and  
now I come back : ).
In the second year of university, I 've decided to enroll CSC104 since I 've seen lots of my friends playing different types of software such as python,  language of r, language of c and so on by clicking their keyboards rapidly. Maybe it is men's natural instincts that be fond of cars computers, so I think that's why I choose to take this course.  First contact with computer I was 10 years-old and I used to play mini games on it. Then as the rapid development of technology, Internet has been popularized over world. numerous of people found their chances and succeed on internet.  Therefore, I feel obliged to learn something on computer which makes me at least know more about it. My goal at this course is to understand the basic things of Dracket and able to edit image (building tower?!) and use other functions.  At last, I wish we all have a nice term!
                                                         
(these pictures are made by me according to the content of lecture and slides)