rename gamebook to lesson
parent
0c9c46bdb2
commit
d9c35b3ece
|
@ -13,7 +13,7 @@ export const modeChoices = [
|
||||||
['normal', "Normal analysis"],
|
['normal', "Normal analysis"],
|
||||||
['practice', "Practice with computer"],
|
['practice', "Practice with computer"],
|
||||||
['conceal', "Hide next moves"],
|
['conceal', "Hide next moves"],
|
||||||
['gamebook', "Gamebook: interactive lesson [BETA]"]
|
['gamebook', "Interactive lesson"]
|
||||||
];
|
];
|
||||||
|
|
||||||
export function fieldValue(e: Event, id: string) {
|
export function fieldValue(e: Event, id: string) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { State } from './gamebookPlayCtrl';
|
||||||
const defaultComments = {
|
const defaultComments = {
|
||||||
play: 'What would you play in this position?',
|
play: 'What would you play in this position?',
|
||||||
bad: 'That\'s not the right move.',
|
bad: 'That\'s not the right move.',
|
||||||
end: 'Congratulations! You completed this gamebook.'
|
end: 'Congratulations! You completed this lesson.'
|
||||||
};
|
};
|
||||||
|
|
||||||
export function render(ctrl: GamebookPlayCtrl): VNode {
|
export function render(ctrl: GamebookPlayCtrl): VNode {
|
||||||
|
@ -29,8 +29,7 @@ export function render(ctrl: GamebookPlayCtrl): VNode {
|
||||||
attrs: {
|
attrs: {
|
||||||
width: 120,
|
width: 120,
|
||||||
height: 120,
|
height: 120,
|
||||||
src: window.lichess.assetUrl('/assets/images/mascot/octopus.svg'),
|
src: window.lichess.assetUrl('/assets/images/mascot/octopus.svg')
|
||||||
title: 'Click to choose your teacher'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue