-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented an instructions + images modal, and slightly refactored
- Loading branch information
Showing
4 changed files
with
215 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<script setup> | ||
const SINGLE_GAME_INSTRUCTIONS = [ | ||
"You will be shown descriptions of various games, one game at a time.", | ||
"These games were created to be played in a video game environment in the images below.", | ||
"In this video game, the player can move and look around the room, pick up objects, put them down, and throw them.", | ||
"This video game environment is a room with a bed, a desk, several types of toys (such as balls, blocks, and stuffed animals), and other objects (such as a lamp, a clock, and a book).", | ||
"Participants in a previous study played in this video game environment.", | ||
"They were then asked to create a game to be played in the room to pass some time, for a single player, with no specific goal, but requiring keeping score.", | ||
"You will be provided textual descriptions of these games, created by a computer translator program.", | ||
// "Some of these games were created by human participants in a previous study; other games were created by a computer program.", | ||
// "Regardless of whether the game was created by a human or a program, all of the textual descriptions you will see were created by a separate computer program.", | ||
"This might cause the descriptions to seem artificial; please try to judge the games based on the contents of the game described, not the quality of the description.", | ||
"You can also assume that all objects mentioned in a game description exist in the room.", | ||
"You will be asked to answer a few multiple choice questions with judgements of each game description, such as how creative the game is, or how fun it might be to play.", | ||
"You will also be asked to provide short (1-2 sentence) explanations of particularly low and high multiple choice answers for each game.", | ||
// "Your task is to judge whether each game was created by a human or a computer program.", | ||
// "You will be asked to make these judgments for each game description.", | ||
// "You will use a slider to indicate your judgment, between 0 and 100.", | ||
// "0 means you are certain the game was created by a computer program, and 100 means you are certain the game was created by a human.", | ||
// "With each judgment, you will be able to provide a short explanation for your judgment.", | ||
// "You will also be asked to highlight the parts of the game description that you think are most important for your judgment.", | ||
]; | ||
const PAIRED_GAME_INSTRUCTIONS = [ | ||
"You will be shown descriptions of various games, two games at a time.", | ||
"These games were created to be played in a video game environment in the images below.", | ||
"In this video game, the player can move and look around the room, pick up objects, put them down, and throw them.", | ||
"This video game environment is a room with a bed, a desk, several types of toys (such as balls, blocks, and stuffed animals), and other objects (such as a lamp, a clock, and a book).", | ||
"Participants in a previous study played in this video game environment.", | ||
"They were then asked to create a game to be played in the room to pass some time, for a single player, with no specific goal, but requiring keeping score.", | ||
"You will be provided textual descriptions of these games, created by a computer translator program.", | ||
"This might cause the descriptions to seem artificial; please try to judge the games based on the contents of the games described, not the quality of the descriptions.", | ||
"You can also assume that all objects mentioned in a game description exist in the room.", | ||
"You will be asked to answer a few multiple choice questions with judgements of each game description, such as which game seems more creative, or which might be more fun to play.", | ||
"You will also be asked to provide short (1-2 sentence) explanations of particularly low and high multiple choice answers for each pair of games.", | ||
// "Regardless of whether the game was created by a human or a program, all of the textual descriptions you will see were created by a separate computer program.", | ||
// "This might cause the descriptions to seem artificial; please try to judge the games based on the contents of the game described, not the quality of the description.", | ||
// "Your task is to judge which of the two games is more likely to have been created by a human (as opposed to a computer program).", | ||
// "You will be asked to make these judgments for each game description.", | ||
// "You will use a slider to indicate your judgment, between 0 and 100.", | ||
// "0 means you are certain the game presented on the left-hand side was created by a human, and 100 means you are certain the game presented on the right-hand side was created by a human.", | ||
// "With each judgment, you will be able to provide a short explanation for your judgment.", | ||
// "You will also be asked to highlight the parts of either of the game descriptions that you think are most important for your judgment.", | ||
]; | ||
// computed property based on condition in data | ||
const instText = SINGLE_GAME_INSTRUCTIONS; | ||
// const instText = computed(() => { | ||
// const {task} = smilestore.getConditions; | ||
// if (task === 'single') { | ||
// return SINGLE_GAME_INSTRUCTIONS; | ||
// } if (task === 'paired') { | ||
// return PAIRED_GAME_INSTRUCTIONS; | ||
// } | ||
// console.error(`Found unexpected task: ${task}, defaulting to 'single'`); | ||
// return SINGLE_GAME_INSTRUCTIONS; | ||
// }) | ||
</script> | ||
|
||
<template> | ||
<div class="column has-text-left instructions"> | ||
<h1 class="title is-3">Instructions</h1> | ||
<div class="is-size-5"> | ||
Please read the following instructions for the task you will be asked to perform: | ||
</div> | ||
<hr> | ||
<div class="is-size-6"> | ||
<ul> | ||
<template v-for="(line, index) in instText" :key="index"> | ||
<li>{{ line }}</li> | ||
</template> | ||
</ul> | ||
</div> | ||
<hr> | ||
<div class="columns"> | ||
<div class="column"> | ||
<img src="@/assets/room/many_objects_left.jpeg"/> | ||
<img src="@/assets/room/many_objects_middle.jpeg"/> | ||
</div> | ||
|
||
<div class="column"> | ||
<img src="@/assets/room/many_objects_right.jpeg"/> | ||
<img src="@/assets/room/many_objects_bed.jpeg"/> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
|
||
<style scoped> | ||
.instructions { | ||
padding: 10px; | ||
padding-top: 30px; | ||
text-align: left; | ||
font-size: 0.95em; | ||
} | ||
.instructions hr { | ||
background-color: rgb(210, 210, 210); | ||
margin-top: 7px; | ||
margin-bottom: 10px; | ||
height: 1px; | ||
} | ||
.instructions ul { | ||
padding-left: 30px; | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
list-style-type: square; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.