-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
5,088 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
window.addEventListener("load", function(event) { | ||
// Load the main control (Page.js) here | ||
// This mimics the App.OnStartup() function | ||
var page = new Page(); | ||
}); | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// enum of possible consonants to be played to the user | ||
var Consonant = { | ||
Letter1: 0, | ||
Letter2: 1, | ||
Letter3: 2, | ||
Letter4: 3, | ||
Letter5: 4, | ||
Letter6: 5, | ||
Letter7: 6, | ||
Letter8: 7, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// enum of possible positions of the square as it's displayed to the user | ||
var SquarePosition = { | ||
TopLeft: 0, | ||
TopMiddle: 1, | ||
TopRight: 2, | ||
MiddleRight: 3, | ||
BottomRight: 4, | ||
BottomMiddle: 5, | ||
BottomLeft: 6, | ||
MiddleLeft: 7, | ||
}; |
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,8 @@ | ||
// enum of the kinds of target of each trial | ||
var TargetKind = { | ||
Audio: 1, | ||
Visual: 2, | ||
Both: 3, | ||
None: 4, // the trial doesn't match | ||
TooEarly: 5, // this trial is too early in the list, and it doesn't have an earlier pair | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
var TrialResult = { | ||
Audio_Success: 1, | ||
Audio_Failure: 2, | ||
Visual_Success: 3, | ||
Visual_Failure: 4, | ||
}; |
Oops, something went wrong.