Thursday, 3 July 2014

Brand New Kanagram

Hello Planet,

  Finally, hours of hard work paid off. Kanagram has now a brand new interface which uses QtQuick framework instead of the previous SVG/QPainter based code. The entire interface has been written in QML. The whole process saw a lots of new developments. Previously, Kanagram had multiple interfaces separate for desktop and harmattan devices. There was also a plasma-active interface which had a bit of issues but helped me a lot as a reference, thanks to Laszlo Papp for that. The initial stages included a thorough clean up, which saw all the previous interfaces being replaced by the new qml one. Currently, only a single interface is maintained with the background and other images being kept isolated from the code, so that versatile themes could be implemented for the application in future.

  Though there's a lot of room for improvement in the user interface, the backend functionalities work fine. We were successful in pushing these changes to the master before the KDE SC 4.14 freeze. Also, a lot of credit goes to Jeremy Whiting who is now working on porting the application to Qt5. Next I will be working on a wiki link feature about which I'll write in my next blog post.

Thursday, 5 June 2014

GSoC14 - Kanagram


This is my first blog post about my GSoC project. The past few days has been enthralling and fun filled with loads of learning opportunities. I would like to use this space to share my experience with Kanagram and the work done so far.

Kanagram, is now having a flexible text to speech converter, which is aimed at enhancing proficiency in pronunciation for the school kids. This feature enables proper pronunciation of the words and can be toggled in the "General Settings" section. This feature uses the audio URL of the vocabulary files to play the audio file associated with each word. This audio file contains the proper pronunciation of the words. But the main reason of calling this feature flexible is because of the way Kanagram reacts in absence of any of such associated files. In case the audio file is not present, Kanagram uses kde text-to-speech daemon to pronounce the words. This fallback system is implemented using the KSpeech API.

Commits :

Apart from this, there has also been an enhancement in the self-assesssment tool. The previous scoring pattern assesssed the users' performance solely on the basis of the number of anagrams answered correctly, excluding the other factors at play like number of attempts, number of anagrams answered incorrectly and number of anagrams skipped. The present scoring pattern takes all of these factors into consideration thus solidifying the evaluation process. The individual score for each of these factors can be assigned by the user in the "Advanced Settings" section of "General Settings", thus making the user, sole judge of their performance.

Commits :

Next on my checklist, is designing the game interface using QML. I will write more about it in my next post.