CNCLgithub / rooms-psiturk

1 stars 0 forks source link

getting started with psiturk #1

Closed belledon closed 3 years ago

belledon commented 3 years ago

Please attempt to add key presses in the Page structure

You need to modify https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/templates/page.html#L22-L25

such that subjects are asked to press either "j" or "k"

and also edit Page to properly register correct responses

https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/static/js/page.js#L126-L138

belledon commented 3 years ago

also edit this https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/static/js/page.js#L58-L64

to extract which key they pressed