GSoC/2022/StatusReports/Samarthraj: Difference between revisions
Samarthraj (talk | contribs) |
Samarthraj (talk | contribs) |
||
Line 86: | Line 86: | ||
===== Week 10 ===== | ===== Week 10 ===== | ||
Modified the datasets in activities 1 and 2. Improved the tick validation in sub-activities. Fixed the scaling of "numberCards". | |||
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=15cdda1e7d6d42eea907d292f5067d5a3a6b3ac4/ MR (activity 1 & 2) till week 10] | |||
===== Week 11 ===== | |||
Made major changes in activity 2. Used "repeater" for display of the "numberCards" inside "contaierBox". This way the code is more scalable and adaptable to addition of new container and changes made to activity. With the help of the mentors, updated the dataset in sub-activity 2, the caculation of total sum is done from the number array present in the dataset. And the display elements are made more flexible to it can generate the elements to be displayed for any number. | |||
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=436c44100465c492e97f941cbc6914d5d2211bfa/ MR (activity 1 & 2) till week 11] |
Revision as of 14:38, 8 September 2022
Adding new activities to GCompris
Tasks
I proposed to add the following activities: Proposal Link - here
This activity is divided into three sub-activities. 1. 10's complement 2. Swapping 10's complements 3. Splitting 10's complements Merge Request - link
Blog Posts
Timeline
Week 1
I started working with 10's complement. In the first sub-activity, we have to place the 10's complement of the given number in the empty place. This sub-activity consists of 3 levels. In the first week, I added the all required components and added required attributes to them, such as color and border shape. and created a separate component, "NumberCard," so it could be used multiple times, and these cards were rendered in numberContainer (pink box left side) using ListModel, and their size was found by "Core.fitItems."
Week 2
In the second week, I created another component, "AnswerContainer," as all the numberCards will appear inside the answer container. Completed the visual appearance of the activity.
Activity progress
Week 3
I implemented the functioning of sub-activity 1. The user can replace the "question mark" with a number by first clicking on the number and then the question mark. Initially, the display for three answerContainer was hard-coded, so I improved them by using ListModel. The addition of dataset was during this time. Dataset consisted of "numberValue" the values from which the user can select and "questionValue" the number to which user have to answer.
Week 4
Added the reload button. During this time I also initialized the sub-activity 2, Swapping 10's complements. There is a separate card and cardContainer. The cards are inside the container in horizontal ListView. I also Implemented the dataset up to 3 levels in sub-activity 1.
Activity Progress
Week 5
Added levels 1 and 2 to sub-activity 2. Level 1 contains 4 numbers and 5 numbers respectively to swap. The symbols and numbers inside the container are the same cards with different properties visually and only the number is clickable. And initially, the border color was changed to provide the click feedback, my mentors suggested using another way to show "card selection" as the activity should be adaptable for colorblind people as well. Made the "okButton" working. The click on it will validate the answers. Added the function to swap the cards inside each row to arrange them in the correct order.
Activity Progress
Week 6
This week added the dataset for level 1 in sub-activity 2. The dataset consists of "numberValue" the number to be displayed and "totalSum" the sum of the equation. The dataset selection in activity 1, was made random, so every time the activity is started the user would have a new set of values to answer. And the "question" position was also randomized. The visibility of "okButton" in sub-activity is only visible when the all questions are answered.
MR (activity 1 & 2) till week 6
Week 7
By this time activity 1, had a basic structure and working functionality to it. After that, we added sublevels to every level. The user needs to successfully answer all the sublevels in order to proceed to the next level. And to help the user visualize how many sublevels are left, we added the sublevel counter. In sub-activity 2, added level 3, which has 3 pairs to form ten's complement. In total this level has 6 numbers and the user needs to swap the numbers in a row to make the first-second, third-forth, and fifth-sixth numbers tens's complement each other. In sub-activity 3, added level 2, and there are two equations to solve. And the values loading in the equations were also made random so the user gets a new random set of questions to answer every time the activity is played. Initialized activity 3 and made improvements in it.
MR (activity 1 & 2) till week 7
Activity Progress
Week 8
This week fixed the bugs in the activities like the re-appearance of number so that the user can correct their mistakes if answered wrong. In activity 3 added the validation image for each equation. And added level 2 to sub-activity 3.
MR (activity 1 & 2) till this week
Week 9
Addition of validation image in sub-activity 1 was done in this week. In sub-activity 3, made the tick validation fully functional and dynamic to screen size.
MR (activity 1 & 2) till this week
Progress activity 1
Week 10
Modified the datasets in activities 1 and 2. Improved the tick validation in sub-activities. Fixed the scaling of "numberCards".
MR (activity 1 & 2) till week 10
Week 11
Made major changes in activity 2. Used "repeater" for display of the "numberCards" inside "contaierBox". This way the code is more scalable and adaptable to addition of new container and changes made to activity. With the help of the mentors, updated the dataset in sub-activity 2, the caculation of total sum is done from the number array present in the dataset. And the display elements are made more flexible to it can generate the elements to be displayed for any number.