Port of Gtk+ Guesscount activity
Closed, ResolvedPublic

Description

Activity to teach children basic Arithmetic Operations

bcoudoin created this task.Feb 7 2016, 12:29 AM

i would like to port Gtk+ Guesscount activity with some additional features i would like to port Gtk+ Guesscount activity with some additional features: 1. add modes in the activity (simple,timer,create test) a. simlpe(the activity present right now) b. timer(put timer in solving a question along with guessing chances) c. (optional )create test(parents can create the question ) i want to add these to the activity to make it more exiting and educational.
i would also like to add practice mode(to practice algebra)

Fine, you can assign the task to you and start coding it. For the additional feature some answers:

  • We don't like time limits. Not all children are equals. Adding timers implies tuning them the the average children and excluding the weakest. We don't want to do that.
  • Parent will mostly never create questions, teachers may. It is best to try to tune this using levels. If this is not enough we may decide to add a config option

For the pratcice mode, what do you have in mind?.

for practice mode: i thinnk we should provide them with a calculator(with limit on digits so that the do not enter big numbers) and create a 10 question session.showing the result inn a sidebar.

rahulyadav updated the task description. (Show Details)

The calculator seems to be a very good idea. I have yet to see how it will work in practice but I let you try and explore this concept.

bdoin sir i have made the first level for guesscount. i have made some change from gtk+ version a. i have added drag and drop rather than clicking as it is more interactive(what i felt when i played it) b. bug: i am not able to send the operator back when first question is completed .you have to move it yourself. c. the code is not structured properly(started working on qt 5 days ago) please provide your input .i will make more changes to improve the structure. link to the repo :https://github.com/rahulyadav170923/gcompris

sir i have made the size of elements according to my desktop.i,ll change it according to different viewport when i have built the functionality.

hi, a quick incomplete review:
there are some warnings when playing, for example:
qrc:/gcompris/src/activities/guesscount/Guesscount.qml:45:9: QML QtObject: Binding loop detected for property "question_no"
qrc:/gcompris/src/activities/guesscount/Guesscount.qml:322: TypeError: Cannot read property 'obj' of undefined
qrc:/gcompris/src/activities/guesscount/Guesscount.qml:322: TypeError: Cannot read property 'obj' of undefined

when resizing the screen, it should be fully displayed (and if needed, it should have specific anchoring
Don't forget to change the copyrights (year, names, emails)
Some texts should be translatable (qsTr()). For example, for: text: "Guesscount : "+items.guesscount you can write: text: qsTr("Guesscount : %1").arg(items.guesscount)
To display the score, we have a Score qml item (you can grep it, for example in sudoku activity)
for the mouseArea, instead of setting the size by hand, you can anchors.fill: parent, this way, if parent size changes, the area will still match it.

I don't know how it is done in the Gtk+ version but I would try to put random questions instead of having hardcoded ones.

For the droppable zones, they are not visible enough. Same for the number to find.

rahulyadav added a comment.EditedMar 1 2016, 4:24 AM

thanks jjazeix for your review
. i'll keep these things in mind. i planned to change the copyrights and qstr() string when i had made the functionality.

bdoin sir i have sent you a pull request with same changes presented in the previous link.

jjazeix,bdoin sir i have made some changes according to previous review changes.
a). used qsTr in some areas
b).removed previous warnings
c). added border to droppable zones
d).added level changing functionality
d).structured the code.
i still have two problems. error(QML Rectangle: Cannot anchor to a null item.) and other one is that the operator does not go back to original position.
please take a look.i am working on sizing the elements .

rahulyadav moved this task from Backlog to WIP on the GCompris board.Jul 3 2016, 9:44 AM
rahulyadav updated the task description. (Show Details)Sep 24 2016, 5:40 PM
rahulyadav updated the task description. (Show Details)
rahulyadav removed subscribers: jjazeix, rahulyadav, GCompris, bcoudoin.

Admin mode is almost complete. I have to add logic to select questions according to number of operators selected in the admin mode.

Admin mode is complete along with building level schema. Looking out for any other feature that can be added.

rahulyadav moved this task from WIP to Done on the GCompris board.Jan 11 2017, 2:49 PM
jjazeix closed this task as Resolved.Jan 22 2017, 9:39 PM