Friday, April 30, 2010

Fri, 30th

Today we reached very much, which you can also really see. We connected all of our classes and nearly have the menu ready. Our game screen is ready and you can already place some strokes on a demo symbol.
Right now, everything seems to work the way we want it and we are really looking forward to finish the stand-alone-version very soon.
One of the problems we had during the last days - that instances of the same class using an attribute always used all together the same memory address, which means that the value of the attribute changes for all instances when you change it for one - has been solved by simply not writing the attribute in the usual place for attributes in the class definition, but declaring it in the constructor so that it is created with the instance and only for this instance.
We also used events for the first time so that we can now scan the input for the important signals and  e.g. show new buttons when a first button was clicked.
Happy is the right word to describe how we feel about today's and this week's work.

Thu, 30th April - Busy

First of all: We have been very busy today. On the one hand we continued our project and workend intensively on the implementation of our classes. On the other hand we participated in the lecture EIST held by professor Brügge and were engaged in the ice-breaking challenge of the "iPhone-Praktikum".
Let's start taking a closer look at our project. We are still working on the stand-alone-version for windows. Mainly because of two reasons: First, both of our laptops came as common with installed windows OS so it has become our development platform. Second, if the portation to the OLPC would fail, we also had another version which works. This would be a slightly better result of our project phase than having no clue what to do get just anything working.
Our current target is to get the windows version working. Then we are going to do some necessary changes according to the special features of the OLPC. Then we will test our activity in the simulator and afterwards on a real XO. We really hope that our activity will at this moment work. Because debugging on the XO can become really difficult because the only feedback we get from it is wether the activity starts or not. That is so far our roadmap for the OLPC coding.
EIST lecture in the morning was interesting and covered aspects which are helpfull for our project, too. Especially for the documentation of our program using UML.
The icebreaking challenge of the "iPhone-Praktikum" started at half past three in the afternoon. Its target was as usual for icebreakers a better team bonding. Today every team had to build a tower out of paper, balloons and some other stuff. Afterwards their towers were judged in different categories such as height, beauty and weight which can be placed on the top of them before they break down. Our job was to help the organization staff as good as possible. After the awards show our day ended enjoying some BBQ.

Wednesday, April 28, 2010

Wed, 28th April - Coding Session

Today's progress is easy to tell. We started our first real coding session to implement what we designed in UML yesterday. The block containing dictionary, symbol and stroke is nearly ready from our current point of view and all other classes have also experienced large steps forward. Our dictionary is able to read a .txt file which contains the information about which files have to be loaded. The goal of the game is to compose a chinese character for an animal out of single strokes or packages of strokes. So our .txt file contains the name of the animal, the path of a background image and the paths of the single strokes.
We also learned a lot about lists, inheritance, python functionality in general and the pygame package.We experienced the advantage of coding a stand-alone version because testing is very easy. Pygame works quite well on Windows so we think that we will be able to transfer our version to the OLPC comparatively doable. At least... we hope it :-)

Tuesday, April 27, 2010

Tue, 27th April

Our guideline for today: Analyzing the Objective-C-code of the original program and understand what's going on behind the scenes. We also do this by reviewing the UML class diagrams of the existing documentation.
Afterwards we hopefully are able to build a class structure which is able to imitate the functionality of the original program.
Right now it looks as if we are going to design some new procedures and kick other ones out because they do not seem necessary to us.
So far for this morning, work will continue after lunch.

And here is our evening report: We decided to code a program without the aspiration to have a fully extendable and portable program because we think that this cannot be done in the two remaining weeks of our project phase. So we analyzed the functionalities needed by the program to work properly and built a new class system from scratch. After developing some ideas with pen and paper we decided to have it digital. Visual Paradigm Community Edition seemed to be a good tool for this job so we decided to register and download it. Our first result can be seen underneath this text.


Further on we found out that .png pictures containing transparency are still displayed correctly on the XO so that we can use this effect to overlay pictures. Additionally we decided to first code a version working on a Windows system because we want to built and test the program itself before we start testing the compatibility with the XO.

Finally we can proudly say, that we have been featured by another web-page, which is the blog of Felix, who had the idea for our project and supports us from time to time: http://kaserf.blogspot.com/ .

Monday, April 26, 2010

Mon, 26th April

Hello out there,
our first progress for today did already appear not just at the end of the day, but directly after lunch. We are able to show our own graphics in the OLPC emulation. Let's hope for some more good news!

And there they are: We continued to learn about PyGames, found another good tutorial ("Jones-RapidGameDev") and now believe to be ready to start our own program. Right now we really want to thank all those guys who wrote programs before, because already existing programs are the best way to see which code causes which effect.
At the moment we are still looking for a method how to install activities on a more elegant way than now. Currently we use SFTP file transfer to push the .xo files onto the "disk" of our emulation and then install them using a manipulated homepage.
Because we now want to tackle our real project, we start reading the documentation of the WeMakeWords iPhone project to understand its functionality.
That's it for today!

Sat, 24th April - weekend

Weekend is to relax and not to work too much, was what we thought when planning our Saturday and Sunday. So we got up late and visited the presentation of the Robocup which took place in the faculty for Maschinenwesen, close to the building for mathematics and computer science. After seeing some of the runs, which included two without any mistakes, we decided to just keep on relaxing, which meant a walk around in the city for Max and a little simple chilling around for Björn. Later on we decided to do some productive work again so Max managed to reproduce Thursday’s success, even expanding it. This means that we are now able to show our own activity icon and also our own program name without mistakes.
So far by now, more news will be there soon.

Fri, 23rd April – Not really working

After having visited the first lecture of EIST yesterday, we had EIST today for the second time. It was quite interesting to see what we already talked about in computer science lessons, but also to see, how fast things are done in university for which you take hours in school. Because our coach Damir had told us yesterday that we even would not need to show up in university at all we started working quite relaxed, maybe a little bit too relaxed, so in the end we did not really progress. While Björn started writing the blog, Max tried to reproduce his success from Thursday when he managed to get our own “Hello World”-program running on the OLPC. But our project did not reach a new success.
Although we had told us in the morning not to work too much, we finally stayed in university till about 6 o’clock.