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 :-)
Wednesday, April 28, 2010
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/ .
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!
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.
Thu, 22nd April – Long day, first program
Hello again!
Today we had a very well-filled day with lots of different tasks and happenings. Firstly, we were very happy to get the opportunity to say hello to the whole team of chair Bruegge. In a familiar atmosphere we were given a very warm welcome.
Secondly, we heard our first ever lesson at university. We participated in EIST (which is the German abbreviation for introduction into software engineering) with lots of other students. Mostly interesting topics were discussed in a very imaginable way and it was kind of fun.
Thirdly, Max managed to write an executable hello-world-program which was a great success for us.
And fourthly, we visited the second kick-off meeting for the iPhone practicum, which again included having buffet and a short trip to the Campus Cneipe afterwards.
Wed, 21st April – Alright, let’s go
We started into the first day with our own project with a really high motivation to tackle all appearing problems. Very fast we found out, that we in fact need this motivation. The OLPC Wiki gave us useful advisories what to do. Both of us use Asus Laptops with Vista OS so we need to emulate the OS of the OLPC in order to have a possibility to test our program without transferring it to the original OLPC. So today, our first job was to find a working emulation and a possibility to make programs run on it. Additionally we planned to get first ideas how python works, the script language which most programs for the OLPC, usually called activities, are based on. So we had much to do.
During the morning we read several wiki entries about the OLPC, the Sugar UI and programming with Python, until we decided to use the concept “learning by doing” and installed a package including the emulator QEMU and an image of Fedora 9 (a Linux Distribution which is the OS of the OLPC) with Sugar on it. We caught a version, where there was not even a single activity pre-installed. After some trying we found an image where there were many pre-installed activities. To know how to transport our own programs into the emulation we started searching for ways to transport the data. Our first idea was, just to open the .img file of the emulation and insert our own files, but we did not really find any program that would do exactly what we wanted. Felix also told us that this is not a good way to do. So after some reading we again found the important information in the OLPC wiki. With the program WinSCP and some code changes in the responsible run.bat we were finally able to get a connection via SFTP from our host OS to the data system of the OLPC system.
When reaching this we recognized that it was already late and we decided to call it a day and stop working.
Subscribe to:
Posts (Atom)
