Saturday, November 9, 2013

week 11


This week I mainly did two things for cs371p.
This first thing is that I created my portfolios with the help of seelio.com. I have to say seelio is really a great service that you just need to fill in your information and get an impressive and nontrivial homepage, which from my point of view is much better than Google site. It also saves your time comparing to build your own site from scratch. Portfolio is meaningful to me that it reminds to collect my projects to web so that I will never lose them and could show others a good demo. It is a similar story that I should push all my project code to github. That’s cool.
Another thing is Nick and I completed the fourth project Darwin. It is an interesting project. We are simulating a world that different creatures compete with each other. It is great to see after a number of steps simulation there will be only one or two species left, which is the most intelligent one. In this project, we learned how to write a decent program following the object-oriented guidelines. Avoid to use setters and getters is definitely a lesson we learned. The high light of the project is that we created a new species that beat all creatures of other species after enough steps of simulation. In fact, we didn’t design a totally new species. It is just a simple modification of rover, but it really works well that our creatures are dominant in the final grid. It far out numbered others, which made my partner and I feel great.
In this week’s lecture we discussed initializer list, which looks very complicated that I failed in the last quiz. Even though I could understand what the code is written for, it is totally different to write it by myself. As a result, in the quiz, I had no idea about how to implement the initialization list. We need to consider the inheritance, const, reference, and object’s copy constructor, default constructor. Next time, I should have a quick review after the lecture and may write some code if there is new syntax discussed in the lecture. Practice is very very important in coding.

No comments:

Post a Comment