Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
description: 'This setting controls how many points the quiz game stops at. When a player scores this many points, the game stops and they win.',
allowedValuesDescription: 'A whole number between 1 and 10000',
uniqueId: 'quiz/japanese/score_limit',
defaultUserFacingValue: '10',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 10000),
},
{
userFacingName: 'Unanswered question limit',
description: 'This setting controls how many questions in a row are allowed to go unanswered before the game stops. The intended purpose for this is to automatically end games that players abandon.',
allowedValuesDescription: 'A whole number between 1 and 25',
uniqueId: 'quiz/japanese/unanswered_question_limit',
userSetting: false,
defaultUserFacingValue: '5',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 25),
},
{
userFacingName: 'Delay after unanswered question',
description: 'This setting controls how long I will wait (in seconds) after a timed out question before showing a new one. By setting this higher, players get more time to view and consider the correct answer.',
allowedValuesDescription: 'A number between 0 and 120',
uniqueId: 'quiz/japanese/new_question_delay_after_unanswered',
defaultUserFacingValue: '3.75',
convertUserFacingValueToInternalValue: SettingsConverters.stringToFloat,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(0, 120),
},
{
userFacingName: 'Delay after answered question',
description: 'This setting controls how long I will wait (in seconds) after an answer is correctly answered and the window for additional answers closes, before I show a new question. For example, if **Additional answer wait window** is set to two, and this setting is set to three, then after a question is answered correctly a total of five seconds will pass before I ask a new one.',
userFacingName: 'Answer time limit',
description: 'This setting controls how many seconds players have to answer a quiz question before I say time\'s up and move on to the next question.',
allowedValuesDescription: 'A number between 5 and 120 (in seconds)',
uniqueId: 'quiz/japanese/answer_time_limit',
defaultUserFacingValue: '16',
convertUserFacingValueToInternalValue: SettingsConverters.stringToFloat,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(5, 120),
},
{
userFacingName: 'Score limit',
description: 'This setting controls how many points the quiz game stops at. When a player scores this many points, the game stops and they win.',
allowedValuesDescription: 'A whole number between 1 and 10000',
uniqueId: 'quiz/japanese/score_limit',
defaultUserFacingValue: '10',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 10000),
},
{
userFacingName: 'Unanswered question limit',
description: 'This setting controls how many questions in a row are allowed to go unanswered before the game stops. The intended purpose for this is to automatically end games that players abandon.',
allowedValuesDescription: 'A whole number between 1 and 25',
uniqueId: 'quiz/japanese/unanswered_question_limit',
userSetting: false,
defaultUserFacingValue: '5',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 25),
},
{
userFacingName: 'Delay after unanswered question',
description: 'This setting controls how many points the quiz game stops at. When a player scores this many points, the game stops and they win.',
allowedValuesDescription: 'A whole number between 1 and 10000',
uniqueId: 'quiz/japanese/score_limit',
defaultUserFacingValue: '10',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 10000),
},
{
userFacingName: 'Unanswered question limit',
description: 'This setting controls how many questions in a row are allowed to go unanswered before the game stops. The intended purpose for this is to automatically end games that players abandon.',
allowedValuesDescription: 'A whole number between 1 and 25',
uniqueId: 'quiz/japanese/unanswered_question_limit',
userSetting: false,
defaultUserFacingValue: '5',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 25),
},
{
userFacingName: 'Delay after unanswered question',
description: 'This setting controls how long I will wait (in seconds) after a timed out question before showing a new one. By setting this higher, players get more time to view and consider the correct answer.',
allowedValuesDescription: 'A number between 0 and 120',
uniqueId: 'quiz/japanese/new_question_delay_after_unanswered',
defaultUserFacingValue: '3.25',
convertUserFacingValueToInternalValue: SettingsConverters.stringToFloat,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(0, 120),
},
{
userFacingName: 'Delay after answered question',
description: 'This setting controls how long I will wait (in seconds) after an answer is correctly answered and the window for additional answers closes, before I show a new question. For example, if **Additional answer wait window** is set to two, and this setting is set to three, then after a question is answered correctly a total of five seconds will pass before I ask a new one.',
userFacingName: 'Answer time limit',
description: 'This setting controls how many seconds players have to answer a quiz question before I say time\'s up and move on to the next question.',
allowedValuesDescription: 'A number between 5 and 120 (in seconds)',
uniqueId: 'quiz/japanese/answer_time_limit',
defaultUserFacingValue: '16',
convertUserFacingValueToInternalValue: SettingsConverters.stringToFloat,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(5, 120),
},
{
userFacingName: 'Score limit',
description: 'This setting controls how many points the quiz game stops at. When a player scores this many points, the game stops and they win.',
allowedValuesDescription: 'A whole number between 1 and 10000',
uniqueId: 'quiz/japanese/score_limit',
defaultUserFacingValue: '10',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 10000),
},
{
userFacingName: 'Unanswered question limit',
description: 'This setting controls how many questions in a row are allowed to go unanswered before the game stops. The intended purpose for this is to automatically end games that players abandon.',
allowedValuesDescription: 'A whole number between 1 and 25',
uniqueId: 'quiz/japanese/unanswered_question_limit',
userSetting: false,
defaultUserFacingValue: '5',
convertUserFacingValueToInternalValue: SettingsConverters.stringToInt,
convertInternalValueToUserFacingValue: SettingsConverters.toString,
validateInternalValue: SettingsValidators.createRangeValidator(1, 25),
},
{
userFacingName: 'Delay after unanswered question',