@ArneVogel
Ok the line training mode works for me now. I think one thing I should have been clear on is how other training modes work on other sites before you tried to implement the sequential mode.
I'm not sure, but one thing I have to say about it though is that the program does not test you one line at a time. Meaning that it will just keep going from one line to another until all lines have been shown (with the turquoise arrow). I was hoping that it would be possible to train one line at a time, meaning first the torquise arrow is shown for that line and you practice that and then you train for the same line without the turquoise arrow until you get it correct.
It says your program uses the Leitner system. So the Leitner system it says moves each line from one box to another I think if you get it correct. So does your program move the line that you were shown and you repeat correctly (without the arrow) from box1 to box2 and if your shown that line again later on and get it correct again from box 2 to box3? And then your shown a different line with the turquoise arrow, but you get it wrong from box1 it will stay in box1 but be shown later on? I'm not sure if that's the only type of spaced repetition possible or if there is a better one, but I think chessable, CPT, and ChessTemo Opening Trainer's work differently.
The way you have it set is that a lot of lines are shown from the beginning with the turquoise arrow that you practice and then eventually it will test you on all these lines without the arrow. I would recommend that you make the spaced repetition similar to CPT or Chesstempo's opening trainer if possible. I know you don't want to copy either of those websites, but personally I think their opening trainer is better. Your website, so your choice!
I will tell you how Chess Tempo's opening trainer works. So that one doesn't actually show you the line first with arrows (and your website does which i think is better in that regard; chessable does this as well) and you just start training immediately by playing your first move. Eventually, if the trainer is testing you on one line in particular and you play a different line the Chess Tempo Trainer will say "Correct but there is another line to play." So the trainer will test you on one line at a time; if you get that line correct you get to move to the other line; if you get it incorrect you have to repeat that line until you get it correct.
For Chess Position Trainer (CPT), that program works by spaced repetition as well, and that program gives you the option to first show the line with the trainer or not. Then you have to play that specific line correctly based on how many times you set it to be correct. If you get the line wrong after the trainer shows you the line (or if you turned of the show mode) then you will have to repeat that line until you get it correct a certain amount of times (based on what you set in the program). I have no idea how it's statistics bar meter works next to your opening that shows the percent correct that you learned.
Personally, CPT is a really good program and also supports pgn uploads and the user interface is amazing with many different skin colors and piece choices. The only issue is that it's not open source and costs $40 for the full version while the free version has some limited features. Not sure if it's a lot harder to program your website similarly to CPT. If you could make your website very similar to CPT that would be amazing!
Hope I didn't write too much about this, but I wanted to be very comprehensive. Also, again, it's your choice on how you want your website to be. I was just hoping that it would be similar to CPT but completely open source.
One thing finally. It would be cool if thibault allowed you to program this code on his website so it's directly on lichess.
@ArneVogel
Ok the line training mode works for me now. I think one thing I should have been clear on is how other training modes work on other sites before you tried to implement the sequential mode.
I'm not sure, but one thing I have to say about it though is that the program does not test you one line at a time. Meaning that it will just keep going from one line to another until all lines have been shown (with the turquoise arrow). I was hoping that it would be possible to train one line at a time, meaning first the torquise arrow is shown for that line and you practice that and then you train for the same line without the turquoise arrow until you get it correct.
It says your program uses the Leitner system. So the Leitner system it says moves each line from one box to another I think if you get it correct. So does your program move the line that you were shown and you repeat correctly (without the arrow) from box1 to box2 and if your shown that line again later on and get it correct again from box 2 to box3? And then your shown a different line with the turquoise arrow, but you get it wrong from box1 it will stay in box1 but be shown later on? I'm not sure if that's the only type of spaced repetition possible or if there is a better one, but I think chessable, CPT, and ChessTemo Opening Trainer's work differently.
The way you have it set is that a lot of lines are shown from the beginning with the turquoise arrow that you practice and then eventually it will test you on all these lines without the arrow. I would recommend that you make the spaced repetition similar to CPT or Chesstempo's opening trainer if possible. I know you don't want to copy either of those websites, but personally I think their opening trainer is better. Your website, so your choice!
I will tell you how Chess Tempo's opening trainer works. So that one doesn't actually show you the line first with arrows (and your website does which i think is better in that regard; chessable does this as well) and you just start training immediately by playing your first move. Eventually, if the trainer is testing you on one line in particular and you play a different line the Chess Tempo Trainer will say "Correct but there is another line to play." So the trainer will test you on one line at a time; if you get that line correct you get to move to the other line; if you get it incorrect you have to repeat that line until you get it correct.
For Chess Position Trainer (CPT), that program works by spaced repetition as well, and that program gives you the option to first show the line with the trainer or not. Then you have to play that specific line correctly based on how many times you set it to be correct. If you get the line wrong after the trainer shows you the line (or if you turned of the show mode) then you will have to repeat that line until you get it correct a certain amount of times (based on what you set in the program). I have no idea how it's statistics bar meter works next to your opening that shows the percent correct that you learned.
Personally, CPT is a really good program and also supports pgn uploads and the user interface is amazing with many different skin colors and piece choices. The only issue is that it's not open source and costs $40 for the full version while the free version has some limited features. Not sure if it's a lot harder to program your website similarly to CPT. If you could make your website very similar to CPT that would be amazing!
Hope I didn't write too much about this, but I wanted to be very comprehensive. Also, again, it's your choice on how you want your website to be. I was just hoping that it would be similar to CPT but completely open source.
One thing finally. It would be cool if thibault allowed you to program this code on his website so it's directly on lichess.