miércoles, 23 de febrero de 2011

Tetris

This week assignment is to design the logic of the game Tetris.

We are provided with the graphics of the game so we don't have to do all the development of the game in just one week.

It's seems that we are now one big team that includes all the 6 teams that previously were divided. I think it would be really difficult to get all to accord in design and then develop the game but it would be a very interesting experience to communicate to the whole team and get a unified desingn.

Implementing the design

Last week we had to implement the design another team made. It was a little difficult to do this because the design was really misleading and some things weren't as clear as we expected them to be.

We divided the classes that had to be developed so everyone in the team would particpate and then in saturday we assigned someone that would join all the classes and see if there was anyproblem with them.

It was really helpful that some of the team members were available for us to help in the understanding of the design so the implementation could go smooth and easy.

viernes, 18 de febrero de 2011

Understanding the design

Last wednesday we join together to understand all the documentation about the design of the code we have to implement. We really had a hard time understanding it because there were some differences in the specifications and the UML diagram.

Some of the methods were repeated and some were missing from either the specification document or the UML diagram. We talked to a member of the designning team using Skype and e-maling him and he helped us to understand the design.

We divided the classes so everyone code at least one class and we decided to put all the classes tomorrow morning.

miércoles, 9 de febrero de 2011

Unit Testing

Well the project 1 of the class has already finished. It consisted in parts, each one was a week long.

The first part was to understand the code that was handed to us so we could implement some unit testing and check that the code worked correctly. It is difficult to understand code that is written by ourselves because we have to follow all the logic to understand each method and then understand what the whole class does.

The second week was to implement the unit test. It was really difficult to me to do this because I have worked with C++ very little. I didn't know how to implement a unit test in this language and really made me lost my mind.