How to display a feedback message that gives the number of correct answers up to that point in numbers

Hi, users.

Please tell me how to display a feedback message that gives the number of correct answers up to that point in numbers.
I make 2 loop trial routines. 1 trial routines have 16 trial.

This experiment will pass 28/32 correct answers.
Then, i have to confirmation the correct numbers.
But, i have no idea about this.

I’m beginner for Psychopy and poor english skills.
I don’t sure whether this topic is conveyed accurately.

Thanl you very muvh!!

英語でもポストしましたが、ダメもとで日本語でも投稿します…。

16試行を含むトライアルを2ループして、その正答率を最終的に数字でFBしたいです。
28/32の正答率をもって次のステップへと進むとしているので。

現在、正答は1として変換し一問ごとにFBで”正解”としています。
全32試行が終了したときに、それらの正答率がいくつであったかをFBしたいのですが。

2週間前にPsychoPyを触り始めた初心者ゆえに、どこを調べればいいかもわかっていない状態です。
どなたかにヒントを頂ければ幸いです。

よろしくお願いいたします!

counter feedback.zip (8.3 KB)
Hi, I made a minimal demo based on my understanding of your task. Is this what you’re looking for?

Oh…god!!
First, thank you for your reply!! I’m happy!!
I wonder would get replied from others cause my topic have less information.

And, your demo is so helpful for me!!
I want feedback message only onetime on the end of experience.
Maybe, i can make it referenced your task!!!

Thank you from Japan!!!

Hi, I’m glad it helped. For it to appear only at the end, you just have to put the feedback routine outside of the loop :slight_smile:

Thank you reply & sorry for the late reply.

I tried it.
But for some reason, the keys stopped responding…
I’ll give it some trial and error!

Thank YOU!!