-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into fix-er/song-duration-configuration
- Loading branch information
Showing
25 changed files
with
2,162 additions
and
227 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 |
---|---|---|
|
@@ -15,3 +15,5 @@ e2e/screenshots | |
e2e/tests/__pycache__ | ||
|
||
temp/ | ||
|
||
docs-pages-build/ |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from django.utils.translation import gettext_lazy as _ | ||
|
||
from .matching_pairs import MatchingPairsGame | ||
|
||
|
||
class MatchingPairs2025(MatchingPairsGame): | ||
"""This is the working version of the Matching Pairs game for the 2025 Tunetwins experiment. The difference between this version and the original Matching Pairs game is that this version has some additional tutorial messages. These messages are intended to help the user understand the game. The tutorial messages are as follows: | ||
- no_match: This was not a match, so you get 0 points. Please try again to see if you can find a matching pair. | ||
- lucky_match: You got a matching pair, but you didn't hear both cards before. This is considered a lucky match. You get 10 points. | ||
- memory_match: You got a matching pair. You get 20 points. | ||
- misremembered: You thought you found a matching pair, but you didn't. This is considered a misremembered pair. You lose 10 points. | ||
The tutorial messages are displayed to the user in an overlay on the game screen. | ||
""" | ||
|
||
ID = "MATCHING_PAIRS_2025" | ||
tutorial = { | ||
"no_match": _( | ||
"This was not a match, so you get 0 points. Please try again to see if you can find a matching pair." | ||
), | ||
"lucky_match": _( | ||
"You got a matching pair, but you didn't hear both cards before. This is considered a lucky match. You get 10 points." | ||
), | ||
"memory_match": _("You got a matching pair. You get 20 points."), | ||
"misremembered": _( | ||
"You thought you found a matching pair, but you didn't. This is considered a misremembered pair. You lose 10 points." | ||
), | ||
} |
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
from django.utils.translation import gettext_lazy as _ | ||
|
||
from .matching_pairs import MatchingPairsGame | ||
from experiment.actions.form import TextQuestion | ||
|
||
|
||
class MatchingPairsICMPC(MatchingPairsGame): | ||
ID = 'MATCHING_PAIRS_ICMPC' | ||
ID = "MATCHING_PAIRS_ICMPC" | ||
|
||
def __init__(self): | ||
super().__init__() | ||
self.question_series[0]['keys'].append('fame_name') | ||
self.question_series[0]["keys"].append("fame_name") |
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.