Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Tetris + secondary reaction time task

edited April 2014 in OpenSesame

Hi everybody,

I think I need your help here.... I want to program an experiment which at some point should start a video game (namely Tetris), and while they play tetris, I want participants to perform on a secondary reaction time task.
After 5 minutes, the game should stop and participants should continue with questionnaires etc...

Can anyone give me hints on how this might be realizable?

Thank you so much in advance! :)

Diana

Comments

  • edited 12:35PM

    Hi Diana,

    What exactly do you have in mind? Do you

    ... want participants to play a standalone video game and then have them switch back to the experiment after five minutes? In this case you could even use two separate computers, one running the experiment and another one running Tetris.

    or

    ... want the video game to be embedded in the experiment itself? In this case, you will really have to create a Python implementation of Tetris and run it from within OpenSesame. (That won't be easy.)

    Cheers,
    Sebastiaan

  • edited 12:35PM

    Hi Sebastiaan, thank you for ur answer.
    Indeed I would want the second option because participants should perform on a secondary reaction time task while playing tetris so I guess if I want Open Sesame to record reaction times during game play...
    To make things worse: the game itself (whether they play successfully or not) should also be recorded...
    I am lucky to have a programmer who works with me, however, he is not familiar with open sesame so we agreed that I first find out what would be possible within the program.

    Do you see that this is 'do-able' within open sesame or do you think I should rely on something else?

    Thanks a lot for your help.
    Diana

  • edited 12:35PM

    Hi Diana,

    I am lucky to have a programmer who works with me, however, he is not familiar with open sesame so we agreed that I first find out what would be possible within the program. Do you see that this is 'do-able' within open sesame or do you think I should rely on something else?

    Yes, it's certainly do-able for a programmer. Basically, you would just implement the game in Python, and then embed the Python script in OpenSesame. Since you can use PyGame from within OpenSesame, it might be worth taking one of the existing PyGame-based Tetris clones as a starting point:

    See also:

    Cheers,
    Sebastiaan

  • edited 12:35PM

    Oh wow :) That is a very good hint! Thank you so much for this !
    So I use the python script for tetris yay -- and then I program a secondary reaction time task along?
    Is it possible to have the game stopped after 5 minutes? And to "logfile" the results within th game? results as in how good or bad the participant performed?
    Again thank you so much for your help. Diana

  • edited 12:35PM

    So I use the python script for tetris yay -- and then I program a secondary reaction time task along?

    Yes, that would be the idea.

    Is it possible to have the game stopped after 5 minutes?

    Of course. You'll program the game yourself (or at least adapt it), so you can have it stop whenever you want and have it do whatever you like.

    And to "logfile" the results within th game? results as in how good or bad the participant performed?

    Yes, you can access the OpenSesame logfile in a script, as described here:

    Good luck!
    Sebastiaan

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games