Routing for UAS216

preload_condition := getUAS229Preload("condition")
onmobile_scan := isOnMobile()
if preload_condition = response then
if onmobile_scan in [1,3] and preload_condition = 1 then
Group of questions presented on the same screen
onkeyboardconfirm (Confirm on device with keyboard)
Welcome and thanks for your interest in playing this game!

We would like you to do the first game using your computer or laptop which uses a keyboard. However, it looks like you are trying to do this survey on a smartphone or a tablet without a keyboard.

Are you using a computer or laptop which uses a keyboard right now?

1 Yes, I am using a computer or laptop which uses a keyboard right now
2 No, I am using a smartphone or a tablet without a keyboard right now
messages_keyboard
onkeyboard_dh (dont have device with keyboard)
1 If you do not own a computer or laptop where you use a keyboard, please check this box:
End of group of questions
if onkeyboardconfirm = 1 then
onmobile := 2
onmobileguess_incorrect := 1
elseif onkeyboard_dh = 1 then
onmobile := 1
End of if
elseif onmobile_scan = 2 and preload_condition = 2 then
Group of questions presented on the same screen
onmobileconfirm (Confirm on mobile device )
Welcome and thanks for your interest in playing this game!

We would like you to do the first game using your smartphone or a tablet without a keyboard. However, it looks like you are trying to do this survey on a computer or laptop which uses a keyboard.

Are you using a smartphone or a tablet without a keyboard right now?

1 Yes, I am using a smartphone or a tablet without a keyboard right now
2 No, I am using a computer or laptop which uses a keyboard right now
messages_mobile
onmobile_dh (dont have device with mobile)
1 If you do not own a smartphone or tablet where you use your finger or a stylus to tap the screen, please check this box:
End of group of questions
if onmobileconfirm = 1 then
onmobile := 1
onmobileguess_incorrect := 1
elseif onmobile_dh = 1 then
onmobile := 2
End of if
Else
if preload_condition = 1 then
Group of questions presented on the same screen
onkeyboardask (Ask on keyboard device )
Welcome and thanks for your interest in playing this game!

We would like you to do the first game using your computer or laptop which uses a keyboard.

Are you currently using a computer or laptop which uses a keyboard?
1 Yes, I am currently using a computer or laptop which uses a keyboard
2 No, I am currently using a smartphone or tablet without a keyboard
messages_keyboard
onkeyboard_dh (dont have device with keyboard)
1 If you do not own a computer or laptop where you use a keyboard, please check this box:
End of group of questions
if onkeyboardask = 1 then
onmobile := 2
onmobileguess_incorrect := 2
elseif onkeyboard_dh = 1 then
onmobile := 1
End of if
elseif preload_condition = 2 then
Group of questions presented on the same screen
onmobileask (Ask on mobile device )
Welcome and thanks for your interest in playing this game!

We would like you to do the first game using your smartphone or a tablet without a keyboard.

Are you currently using a smartphone or a tablet without a keyboard?
1 Yes, I am currently using a smartphone or tablet without a keyboard
2 No, I am currently using a computer or laptop which uses a keyboard
messages_mobile
onmobile_dh (dont have device with mobile)
1 If you do not own a smartphone or tablet where you use your finger or a stylus to tap the screen, please check this box:
End of group of questions
if onmobileask = 1 then
onmobile := 1
onmobileguess_incorrect := 1
elseif onmobile_dh = 1 then
onmobile := 2
End of if
End of if
End of if
Else
ondeviceask (Ask device)
Welcome and thanks for your interest in playing this game!

Before we get started could you please tell us what kind of device you are currently using?
1 I am currently using a computer or laptop which uses a keyboard
2 I am currently using a smartphone or tablet without a keyboard
if ondeviceask = 1 then
onmobile := 2
elseif ondeviceask = 2 then
onmobile := 1
End of if
End of if
timeout := 30000
FLSkip := 30
Fill code of question 'FL_keyboard' executed
Fill code of question 'FLSpace' executed
if onmobile = 1 then
Group of questions presented on the same screen
sw001_intro_mobile
Thank you!

In this game we would like to see how quickly you can respond to the words RED and GREEN. For this task, you will need to navigate using three buttons that will be located on the bottom of the screen. If possible, place one finger on the S button, one finger on the G button and one finger on the Space Bar button.



The letter S means STOP. The letter G means GO. If you do not press either S or G before [[]] seconds, you will be skipped to the next item.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Else
Group of questions presented on the same screen
sw001_intro
Thank you!

In this game we would like to see how quickly you can respond to the words RED and GREEN. For this task, you will need to place your hands on the keyboard. If possible, place one finger on the letter S, one finger on the letter G, and one on the Space Bar.

The letter S means STOP. The letter G means GO. If you do not press either S or G before [[]] seconds, you will be skipped to the next item.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
End of if
if onmobile = 1 then
Group of questions presented on the same screen
sw001_intro2_mobile
For the first several items, if you see RED you will indicate STOP by pressing the S button. If you see GREEN you will choose GO by pressing the G button.

Please keep your hands on the buttons during this whole task. This will help you complete the task more quickly.

Try to be accurate, but respond as quickly as you can.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Else
Group of questions presented on the same screen
sw001_intro2
For the first several items, if you see RED you will indicate STOP by pressing the letter S. If you see GREEN you will choose GO by pressing the letter G.

Please keep your hands on the keyboard during this whole task. This will help you complete the task more quickly.

Try to be accurate, but respond as quickly as you can.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
End of if
Group of questions presented on the same screen
sw001_example1

DEMONSTRATION

For example, if you see:

Press S for “stop,” G for “go”.
RED

You should press the letter S. Please do this now. [
//]
sw001_example1_result (sw001 result example 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw001_example2

DEMONSTRATION

And if you see:

Press S for “stop,” G for “go”.
GREEN

You should press the letter G. Please do this now. [
//]
sw001_example2_result (sw001 result example 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw001_intro3_practice

PRACTICE

Now you try it a few times. You will be corrected if you press the wrong key.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw001_practice1

PRACTICE

Press S for “stop,” G for “go”.
GREEN

[
//]
sw001_practice1_result (sw001 result practice 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw001_practice2

PRACTICE

Press S for “stop,” G for “go”.
RED

[
//]
sw001_practice2_result (sw001 result practice 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw001_practice3

PRACTICE

Press S for “stop,” G for “go”.
RED

[
//]
sw001_practice3_result (sw001 result practice 3)
STRING
End of group of questions
Group of questions presented on the same screen
sw001_intro3
Now here is a larger set that will last about 1 minute. You will no longer be corrected if you press the wrong key.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Loop from 1 to 10
Fill code of question 'FL_sw001[cnt]' executed
Fill code of question 'FL_sw001_key[cnt]' executed
Fill code of question 'FL_sw001_key_wrong[cnt]' executed
Group of questions presented on the same screen
sw001 (first trial)
Press S for “stop, ” G for “go”.
[
//]
sw001_result (result first trial)
STRING
End of group of questions
End of loop
Group of questions presented on the same screen
sw002_intro2

DEMONSTRATION

Now you will do just the REVERSE of what you have been doing. So when you see RED you will press the letter G for “go.” When you see GREEN you will press the letter S for “stop.”

Try to be accurate, but answer as quickly as you can.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw002_example1

DEMONSTRATION

For example, if you see:

Press S for “stop,” G for “go”.
RED

Because the rules are "REVERSE," you should press the letter G for "go." Please do this now. [
//]
sw002_example1_result (sw002 result example 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw002_example2

DEMONSTRATION

And if you see:

Press S for “stop,” G for “go”.
GREEN

You should press the letter S for "stop." Please do this now. [
//]
sw002_example2_result (sw002 result example 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw002_intro3_practice

PRACTICE

Now you try it a few times. You will be corrected if you press the wrong key.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw002_practice1

PRACTICE

Press S for “stop,” G for “go”.
RED
[
//]
sw002_practice1_result (sw002 result practice 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw002_practice2

PRACTICE

Press S for “stop,” G for “go”.
GREEN
[
//]
sw002_practice2_result (sw002 result practice 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw002_practice3

PRACTICE

Press S for “stop,” G for “go”.
GREEN
[
//]
sw002_practice3_result (sw002 result practice 3)
STRING
End of group of questions
Group of questions presented on the same screen
sw002_intro3
Now here is a larger set that will last about 1 minute. You will no longer be corrected if you press the wrong key.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Loop from 1 to 10
Fill code of question 'FL_sw002[cnt]' executed
Fill code of question 'FL_sw002_key[cnt]' executed
Group of questions presented on the same screen
sw002 (second trial)
Press S for “stop,” G for “go”.
[
//]
sw002_result (result second trial)
STRING
End of group of questions
End of loop
Group of questions presented on the same screen
sw003_intro2

DEMONSTRATION

Now we are going to mix up these two types of responses. When you see the word NORMAL, you will respond the way you did at first: RED means “stop” (S), GREEN means “go” (G). But when you see the word REVERSE, you will give the reverse responses: RED means “go” (G), GREEN means “stop” (S).

We will alternate between the NORMAL and the REVERSE every few trials.

Try to be accurate, but answer as quickly as you can.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw003_intro3

DEMONSTRATION

Current rules:

NORMAL


[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw003_example1

DEMONSTRATION

So if you see:

Press S for “stop,” G for “go”.
RED

You should press the letter S for "stop." This is because the last screen said "NORMAL," and this screen says "RED." Please do this now. [
//]
sw003_example1_result (sw003 result example 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw003_example2

DEMONSTRATION

And if you see:

Press S for “stop,” G for “go”.
GREEN

You should press the letter G for "go." This is because the rules screen said "NORMAL," and this screen says "GREEN." Please do this now. [
//]
sw003_example2_result (sw003 result example 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw003_example3

DEMONSTRATION

And if you see:

Press S for “stop,” G for “go”.
RED

You should press the letter S. Please do this now. [
//]
sw003_example3_result (sw003 result example 3)
STRING
End of group of questions
Group of questions presented on the same screen
sw003_intro4

DEMONSTRATION

Current rules:

REVERSE


[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw004_example1

DEMONSTRATION

So if you see:

Press S for “stop,” G for “go.”
GREEN

You should press the letter S for "stop." This is because the last screen said "REVERSE," and this screen says "GREEN." Please do this now. [
//]
sw004_example1_result (sw004 result example 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw004_example2

DEMONSTRATION

Or if you see:

Press S for “stop,” G for “go”.
RED

You should press the letter G for "go." This is because the rules screen said "REVERSE," and this screen says "RED." Please do this now. [
//]
sw004_example2_result (sw004 result example 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw004_example3

DEMONSTRATION

Or if you see:

Press S for “stop,” G for “go”.
RED

You should press the letter G for "go." Please do this now. [
//]
sw004_example3_result (sw004 result example 3)
STRING
End of group of questions
Group of questions presented on the same screen
sw004_intro1

PRACTICE

Now, please try it a few times on your own. You will be corrected if you press the wrong key.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw004_intro2

PRACTICE

Current rules:

NORMAL


[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw005_example1

PRACTICE

Press S for “stop,” G for “go”.
GREEN

[
//]
sw005_example1_result (sw005 result example 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw005_example2

PRACTICE

Press S for “stop,” G for “go”.
RED

[
//]
sw005_example2_result (sw005 result example 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw005_example3

PRACTICE

Press S for “stop,” G for “go”.
GREEN

[
//]
sw005_example3_result (sw005 result example 3)
STRING
End of group of questions
Group of questions presented on the same screen
sw005_intro2

PRACTICE

Current rules:

REVERSE


[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Group of questions presented on the same screen
sw006_example1

PRACTICE

Press S for “stop,” G for “go”.
GREEN

[
//]
sw006_example1_result (sw006 result example 1)
STRING
End of group of questions
Group of questions presented on the same screen
sw006_example2

PRACTICE

Press S for “stop,” G for “go”.
RED

[
//]
sw006_example2_result (sw006 result example 2)
STRING
End of group of questions
Group of questions presented on the same screen
sw003_intro
We are now ready to do a longer set. This will take about two minutes. You will no longer be corrected if you press the wrong key.

[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
Loop from 1 to 32
Fill code of question 'FL_sw003[cnt]' executed
Fill code of question 'FL_sw003_color[cnt]' executed
Fill code of question 'FL_sw003_key[cnt]' executed
Fill code of question 'FL_sw003_key_wrong' executed
if cnt in [1,9,19,29] then
Group of questions presented on the same screen
sw007_intro
Current rules:

NORMAL


[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
elseif cnt in [4,15,24] then
Group of questions presented on the same screen
sw007_intro_reverse
Current rules:

REVERSE


[Please press the 'Space Bar' to continue./
]
spacescript
End of group of questions
End of if
Group of questions presented on the same screen
sw003 (third trial)
Press S for “stop,” G for “go”.

[
//]
sw003_result (result third trial)
STRING
End of group of questions
End of loop
fe001 (how clear screen)
Aside from the ease or difficulty of clicking or tapping the right letter in the game, how clearly or not clearly were you able see the text and buttons on your screen?
1 Very clearly
2 Not very clearly
3 Not clearly at all
fe002 (difficulty screen navigation)
How easy or difficult was it for you to navigate the screen on your device while playing the game, in terms of tapping, clicking, needing to scroll, etc.?
1 Very easy
2 Somewhat easy
3 Somewhat difficult
4 Very difficult
fe002a (experience with game)
Which of the following best fits your experience with playing the game on your device?
1 I often or always had to scroll or move the screen to be able to see all of the text and buttons on the same screen
2 I sometimes had to scroll or move the screen to be able to see all of the text and buttons on the same screen
3 All of the text and buttons fit on the same screen but they were sometimes obscured by something else
4 All of the text and buttons fit on the same screen with no technical difficulties
fe002b (other problem)
If you had some other problem with playing the game on your device that has not already been addressed, please briefly describe (or leave empty if not applicable):
STRING
if onmobile = 1 then
fe003 (screen device)
How large is the screen on the device you used to play the game? If you aren’t sure, you can just tell us the make and model of the phone or tablet you are using.
STRING
End of if
en001 (location)
When you completed this survey were you (choose one)
1 At home / in the place where you live
2 At work
3 At school
4 In a public place (e.g. store, sidewalk, park, shops, restaurant, etc.)
5 Riding in a car or other form of transportation
6 Walking outside
7 Somewhere else
en002 (conditions)
While you completed this survey were you also... (select all that apply)
1 Talking with other people
2 Listening to music or a book or a podcasts or radio
3 Watching television
4 Playing an online or handheld game (not this game)
5 Following YouTube, social media, online news, etc.
6 Texting, checking email
7 None of these
en003 (interruption)
While you completed this survey were you ever interrupted (e.g. doorbell, phone call, text message, someone speaking to you, moving from one place to another) or did you complete the survey without interruption?
1 I was interrupted while completing the survey
2 I was not interrupted while completing the survey
CS_003 (comments)
Do you have any comments on the first game? Please type these in the box below. (If you have no comments, please click next to continue.)
STRING
if preload_condition = 1 then
instructions_mobile
Thank you for completing the first game!

When you return to your UAS page, log out of UAS on your current device and log back in using your tablet or smartphone without a keyboard. You will see the link to start the second game in UAS217.
elseif preload_condition = 2 then
instructions_keyboard
Thank you for completing the first game!

When you return to your UAS page, log out of UAS on your current device and log back in using your desktop or laptop which uses a keyboard. You will see the link to start the second game in UAS217.
Else
instructions
Thank you for completing the first game!

When you return to your UAS page, you will see the link to start the second game in UAS217.
End of if
dummy := selectForUAS217()