@coorpacademy/progression-engine
Version:
43 lines • 982 B
JavaScript
import _assign from "lodash/fp/assign";
const CURRENT_BASE_VERSION = {
version: '2',
lives: 4,
livesDisabled: false,
maxTypos: 2,
slidesToComplete: 4,
shuffleChoices: true,
answerBoundaryLimit: 5,
starsPerAskingClue: -1,
starsPerCorrectAnswer: 4,
starsPerResourceViewed: 4,
remainingLifeRequests: 1
};
const configurations = [
// V1: original engine with 3 live
_assign(CURRENT_BASE_VERSION, {
version: '1',
lives: 3
}),
// V2: current classic engine with 4 live 🚀
CURRENT_BASE_VERSION,
// V3: Extra life (4+1) saint valentin engine
_assign(CURRENT_BASE_VERSION, {
version: '3',
lives: 5
}),
// V4: Extra life (4+1) and double stars
_assign(CURRENT_BASE_VERSION, {
version: '4',
lives: 5,
starsPerCorrectAnswer: 8
}),
// V5: Double stars engine
_assign(CURRENT_BASE_VERSION, {
version: '5',
starsPerCorrectAnswer: 8
})];
export default {
configurations,
defaultConfiguration: CURRENT_BASE_VERSION
};
//# sourceMappingURL=learner.js.map