Opening Training
-
- Posts: 25
- Joined: Tue Feb 28, 2017 2:40 pm
Opening Training
Hi Alf,
I am wondering how I can enable opening training for Black? Is there a way?
Thanks
I am wondering how I can enable opening training for Black? Is there a way?
Thanks
Re: Opening Training
Hmm. Good question
It's based on the tactic trainer, so the result is what's decided which color you play. If the result is 0-1 [Result "0-1"], you will play black.
But for the opening trainer, you will probably want something random. I have to think about that one. Do you have any suggestions?
---
Alf
It's based on the tactic trainer, so the result is what's decided which color you play. If the result is 0-1 [Result "0-1"], you will play black.
But for the opening trainer, you will probably want something random. I have to think about that one. Do you have any suggestions?
---
Alf
-
- Posts: 25
- Joined: Tue Feb 28, 2017 2:40 pm
Re: Opening Training
In my opinion, the user should be given to train the opening as black or white.
When I checked the "eco" file there is no "Result" pgn tag in the file. So I am assuming that you are assigning Result 1-0 and hence ECO training is by default White perspective. So when the user selects to train as Black then probably you can manipulate the result to 0-1 and then it should be from Blacks perspective (but white has to make the first move automatically). I am not sure the memory impact when the user keeps switching between white/black options frequently.
When I checked the "eco" file there is no "Result" pgn tag in the file. So I am assuming that you are assigning Result 1-0 and hence ECO training is by default White perspective. So when the user selects to train as Black then probably you can manipulate the result to 0-1 and then it should be from Blacks perspective (but white has to make the first move automatically). I am not sure the memory impact when the user keeps switching between white/black options frequently.
Re: Opening Training
I will find a solution for the opening trainer.
* I'm also in the process of creating some new puzzles, example: find hanging pieces, pinned pieces etc. I think it could be nice feature.
* I'm also in the process of creating some new puzzles, example: find hanging pieces, pinned pieces etc. I think it could be nice feature.
-
- Posts: 25
- Joined: Tue Feb 28, 2017 2:40 pm
Re: Opening Training
Probably we can simply remove the option to pick the side and let the user play both the roles so he can do it from the both sides. This way user can train both as black and white and he can switch the board while playing the roles. This way memory manipulation is not needed only we have to allow human vs human (or self vs self) rather than computer vs human / human vs computer.
Re: Opening Training
Good idea
That's probably how I will implement it. I just need to take into consideration openings with only 1 move.
That's probably how I will implement it. I just need to take into consideration openings with only 1 move.
-
- Posts: 57
- Joined: Wed Mar 08, 2017 8:17 am
Re: Opening Training
I think there is one more simple way: Try the pgn with custom board, just as the normal tactics. The fen code has already show White 1st move. And now it must be Black turn. For example:
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1
Here, White has move 1.e4. I think that it would work. And that is Black turn. For the readers, they will easily recognize what first move have White make, won't they?
Let me try, I will report it later. ^^
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1
Here, White has move 1.e4. I think that it would work. And that is Black turn. For the readers, they will easily recognize what first move have White make, won't they?
Let me try, I will report it later. ^^
-
- Posts: 57
- Joined: Wed Mar 08, 2017 8:17 am
Re: Opening Training
Work for me. Here is the test link:
http://test.chess.edu.vn/luyen-tap-khai ... eview=true
The pgn I used in the database is like this: (sorry. cannot attach file, so I paste it here. You can copy/paste to the text editor and save as pgn, upload and try it)
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Main line"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "17"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Nf3 Bf5 6. Bc4 e6 7. Bd2 c6 8. Nd5
Qd8 9. Nxf6+ gxf6 *
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Scandinavinan "]
[Black "variation 1"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "9"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Bb5+ c6 *
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Scandianavian defense"]
[Black "varies on move 5"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "17"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Bc4 Bg4 6. f3 Bf5 7. Nge2 e6 8.
Bd2 Qb6 9. Na4 Qc6 *
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Scandinavian defense"]
[Black "varies on move 5b"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "17"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Bd2 Bg4 6. f3 Bh5 7. Bc4 Qb6 8.
Nge2 e6 9. a4 a5 *
http://test.chess.edu.vn/luyen-tap-khai ... eview=true
The pgn I used in the database is like this: (sorry. cannot attach file, so I paste it here. You can copy/paste to the text editor and save as pgn, upload and try it)
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Main line"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "17"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Nf3 Bf5 6. Bc4 e6 7. Bd2 c6 8. Nd5
Qd8 9. Nxf6+ gxf6 *
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Scandinavinan "]
[Black "variation 1"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "9"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Bb5+ c6 *
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Scandianavian defense"]
[Black "varies on move 5"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "17"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Bc4 Bg4 6. f3 Bf5 7. Nge2 e6 8.
Bd2 Qb6 9. Na4 Qc6 *
[Event "?"]
[Site "?"]
[Date "2017.03.16"]
[Round "?"]
[White "Scandinavian defense"]
[Black "varies on move 5b"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[PlyCount "17"]
1... d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Bd2 Bg4 6. f3 Bh5 7. Bc4 Qb6 8.
Nge2 e6 9. a4 a5 *
-
- Posts: 25
- Joined: Tue Feb 28, 2017 2:40 pm
Re: Opening Training
Idochesswork: Your idea is good if we have to separate databases (one for white and one for black). The idea is to use the same database and provide a way to training as black or white.
-
- Posts: 57
- Joined: Wed Mar 08, 2017 8:17 am
Re: Opening Training
@ chessnagar: Ah yes, you're right. Because I think that it would be too broad to put a lot of openings to train in the same post. So we must either ways compose the database before using :-p.
And by the way, your site look well managed! - Congratulate!
And by the way, your site look well managed! - Congratulate!
Who is online
Users browsing this forum: No registered users and 0 guests