@coorpacademy/progression-engine
Version:
48 lines (47 loc) • 1.24 kB
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var _assign2 = _interopRequireDefault(require("lodash/fp/assign"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
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
(0, _assign2.default)(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
(0, _assign2.default)(CURRENT_BASE_VERSION, {
version: '3',
lives: 5
}),
// V4: Extra life (4+1) and double stars
(0, _assign2.default)(CURRENT_BASE_VERSION, {
version: '4',
lives: 5,
starsPerCorrectAnswer: 8
}),
// V5: Double stars engine
(0, _assign2.default)(CURRENT_BASE_VERSION, {
version: '5',
starsPerCorrectAnswer: 8
})];
var _default = exports.default = {
configurations,
defaultConfiguration: CURRENT_BASE_VERSION
};
//# sourceMappingURL=learner.js.map