GSoC update #3 GCompris – Align4

My project title reads “Port of GCompris in Qt Quick”. GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10. The software is being rewritten in Qt Quick. The latest activity I ported was Align4 which is based on the famous Connect4 game. I made two versions of the game – Single player and Two player.

The biggest challenge here was to write the AI for the single player version. I love AI. 😀

In these two activities I had to account for a lot of bugs that popped up because of the various scenarios that could happen while in the activity. Here is how it looks!

align4-singleplayer

The AI shows no mercy at times. Open challenge – Beat it 10 – 0. 😀

align4-singlePlayer-win

Cheers!

GSoC update #2: GCompris – Football

Hello! This is my second update regarding my progress in GSoC. Not sure if the first one made it here. (look here)

I ported an activity called Football previously called Billard. This is how it looked initially:

billard

And this is how the new activity renamed as Football looks. The blue rectangle is the goal. And Tux is the goalie. To make the ball move a “click and drag” is done to launch the ball in the opposite direction.

football1

And Tux becomes bigger with the levels. 😀

football2

P.S: The FIFA world cup is almost here. Can’t wait! Cheers! 😀

GSoC 2014: KDE – GCompris in Qt Quick

Hello everyone,

GCompris

I guess now I can say, I am a GSoC’er. 🙂 I would like to thank my mentors Bruno and Aruna for choosing me. My project title reads “Port of GCompris in Qt Quick”. GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10. The software is being rewritten in Qt Quick. (LINK)

You can track the progress of the porting effort here. The best part about the project is that for a beginner there are clear instructions to follow to get started. Check out the instructions here! This is where I started. I ported an activity called “algorithm”. Although it was my first time using QML, I was able to develop a working version of the activity in a week. But the true challenge came after submitting, as Bruno asked me to rewrite my code efficiently and update the graphics. There had to be some major remodeling of my next submission before it could make into the repository. (Thank you Bruno!) And since then i’ve been told repeatedly, “Quality over Quantity”. As a part of the community bonding, I have been going through the activities that have been ported so that I can pick up on how my code should be structured. If you are interested in learning Qt Quick while doing something useful, you are welcome to contribute to this project.

Screenshot from 2014-05-02 19:20:34This is how my activity looks after Bruno made some major changes. This was my first contribution to any open source project. 🙂

During the coding phase I will be porting various existing activities and also creating some new ones. As of now I have reserved 4 activities I would like to finish and then choose more. I plan to create at least 2 new activities. One from the existing idea list and the other that’s based on my own idea. I have already recruited my nephews to test the activities I will be developing. Can’t wait to start! 😀