-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1053 from joshunrau/cpp-mvp
- Loading branch information
Showing
42 changed files
with
442 additions
and
257 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
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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -12,6 +12,10 @@ import orange from './orange.png'; | |
import '/runtime/v1/[email protected]/css/jspsych.css'; | ||
|
||
export default defineInstrument({ | ||
clientDetails: { | ||
estimatedDuration: 1, | ||
instructions: ['The user will be displayed instructions on the screen'] | ||
}, | ||
content: { | ||
async render(done) { | ||
const jsPsych = initJsPsych({ | ||
|
@@ -116,8 +120,6 @@ export default defineInstrument({ | |
}, | ||
details: { | ||
description: 'This reaction time task is a non-trivial proof of concept with jspsych.', | ||
estimatedDuration: 1, | ||
instructions: ['The user will be displayed instructions on the screen'], | ||
license: 'MIT', | ||
title: 'Reaction Time Task' | ||
}, | ||
|
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
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
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 |
---|---|---|
|
@@ -4,6 +4,10 @@ import { z } from '/runtime/v1/[email protected]'; | |
import './styles.css'; | ||
|
||
export default defineInstrument({ | ||
clientDetails: { | ||
estimatedDuration: 1, | ||
instructions: ['Please attempt to win the game as quickly as possible.'] | ||
}, | ||
content: { | ||
render(done) { | ||
const startTime = Date.now(); | ||
|
@@ -185,8 +189,6 @@ export default defineInstrument({ | |
authors: ['Andrzej Mazur', 'Mozilla Contributors', 'Joshua Unrau'], | ||
description: | ||
'This is a very simple interactive instrument, adapted from a 2D breakout game in the Mozilla documentation.', | ||
estimatedDuration: 1, | ||
instructions: ['Please attempt to win the game as quickly as possible.'], | ||
license: 'CC0-1.0', | ||
referenceUrl: 'https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript', | ||
sourceUrl: 'https://github.com/end3r/Gamedev-Canvas-workshop/tree/gh-pages', | ||
|
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
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
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
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ import { z } from '/runtime/v1/[email protected]'; | |
export default defineInstrument({ | ||
kind: 'INTERACTIVE', | ||
language: 'en', | ||
|
||
tags: ['<PLACEHOLDER>'], | ||
internal: { | ||
edition: 1, | ||
|
@@ -22,10 +21,12 @@ export default defineInstrument({ | |
}); | ||
} | ||
}, | ||
clientDetails: { | ||
estimatedDuration: 1, | ||
instructions: ['<PLACEHOLDER>'] | ||
}, | ||
details: { | ||
description: '<PLACEHOLDER>', | ||
estimatedDuration: 1, | ||
instructions: ['<PLACEHOLDER>'], | ||
license: 'UNLICENSED', | ||
title: '<PLACEHOLDER>' | ||
}, | ||
|
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
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.