-
Notifications
You must be signed in to change notification settings - Fork 172
Game: Create a new quiz feature #2919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
90694b3
add new action show_quiz
reginateh 2ecf439
add quiz parser & quiz manager
reginateh 9758022
reformat
reginateh 8a0546a
CSE Machine: Remove old components and make compact components the de…
CZX123 491a4f3
bumping js-slang (#2852)
martin-henz 59143df
add quiz manager
583f14e
create quiz result type
a8d37b9
hide dialogue box while showing quiz
eab42e5
modify character hidding feature
91f7976
track and display quiz results
023c9cb
debugging for speaker displaying
6d34b75
midify UI for quiz displaying
fd701c9
update UI for quiz display
85ef1fb
attempt to rebase
f7eaed7
small bug fix
c7044b5
solve quiz speaker issue
35dd94c
remove default reaction in QuizParser and handle no reaction situatio…
reginateh a740601
add a new property (boolean array) in Quiz type to record quiz result
reginateh 0891160
rearrange quiz result
reginateh fe704ae
minor changes & comment
reginateh 112b8a3
remove redundant file and console logs
reginateh 0515c9c
save quiz status as attempted/completed arrays
reginateh 60c8c00
add conditions to check whether a quiz is attempted/completed
reginateh 8ac29d5
modify UI again
116e0f3
disable keyboard input in a quiz
reginateh 4a9b71a
move question prompt text to QuizConstants
reginateh e47a20a
QuizParser error handling & add new "speaker" property to QuizType & …
reginateh 3f93602
remove console log
reginateh 2d6573e
display quiz result message to dialogue log
reginateh 55d4c54
format code
reginateh 1554798
Merge branch 'master' into game-quiz
reginateh 7655f78
add documentation
a8de1e3
move quiz result message to QuizConstant
reginateh 65e8912
change quiz condition names
reginateh 01824e6
Add a prompt before a quiz & proceed to the next dialogue line when a…
reginateh a5020e4
dialogue line bug fix
04974d3
reformatting
0b8e464
Merge branch 'master' into game-quiz2
martin-henz 2842b84
Merge branch 'master' into game-quiz2
martin-henz d1ba1bc
Merge branch 'master' into game-quiz2
RichDom2185 722bb5f
Merge branch 'master' into game-quiz2
RichDom2185 43c4979
add saving quizzes score
reginateh 01ea0e0
add validation for quiz conditions parameters
reginateh 7175104
add new condition quizScoreAtLeast to check the status of quiz scores
reginateh 152dd68
support Interpolation of player's name in quiz questions
reginateh ff6eb38
minor change
reginateh 5572aef
support interpolation of quiz scores in dialogue lines
reginateh 66c68b2
remove default result message & minor changes
reginateh 1df31b9
format
reginateh 6119365
minor change
reginateh c107fb9
Merge branch 'game-quiz2' of https://github.com/source-academy/fronte…
reginateh 9d8d378
Merge branch 'master' into game-quiz2
CYX22222003 a82e4bf
Merge branch 'master' into game-quiz2
CYX22222003 47bf5b2
Merge branch 'master' into game-quiz2
CYX22222003 a5ec8c9
Merge branch 'master' into game-quiz2
CYX22222003 d096489
Merge branch 'master' into game-quiz2
CYX22222003 3491f65
Merge branch 'master' into game-quiz2
CYX22222003 3c4697b
Merge branch 'master' into game-quiz2
CYX22222003 12a4190
Merge branch 'master' into game-quiz2
CYX22222003 ab6341e
Merge branch 'master' into game-quiz2
RichDom2185 aea3aed
Merge branch 'master' into game-quiz2
CYX22222003 9205153
Merge branch 'master' into game-quiz2
RichDom2185 7c38472
Merge branch 'master' into game-quiz2
RichDom2185 6953459
Update GameDialogueManager.ts
CYX22222003 e005eb7
Update GameSaveTypes.ts
CYX22222003 cacd2f2
Update GameStateManager.ts
CYX22222003 0b232ea
Update src/features/game/state/GameStateManager.ts
CYX22222003 725f9f8
Merge branch 'master' into game-quiz2
CYX22222003 b2eb34a
Merge branch 'master' into game-quiz2
CYX22222003 6de3681
Merge branch 'master' into game-quiz2
CYX22222003 10d5a83
Merge branch 'master' into game-quiz2
CYX22222003 e72fe77
Merge branch 'master' into game-quiz2
CYX22222003 54ec50e
Update src/features/game/dialogue/GameDialogueManager.ts
CYX22222003 1feee8b
Update GameQuizManager.ts
CYX22222003 7c5b4bd
Update GameDialogueSpeakerRenderer.ts
CYX22222003 4960cb9
Update GameQuizSpeakerRenderer.ts
CYX22222003 c455348
Update src/features/game/dialogue/GameDialogueRenderer.ts
CYX22222003 e21f292
Update GameQuizManager.ts
CYX22222003 e33cb15
Update GameQuizManager and GameQuizConstants
3ba8991
Modifying showNextLine method in GameGlobalAPI
b3f268f
Reformatting
4e639f4
Update src/features/game/parser/QuizParser.ts
CYX22222003 e79f24a
Merge branch 'master' into game-quiz2
CYX22222003 475c502
Merge branch 'master' into game-quiz2
CYX22222003 a4df53a
Merge branch 'master' into game-quiz2
martin-henz 86da80b
Update Prompt field for game object
21ad801
Merge branch 'master' into game-quiz2
CYX22222003 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.