Hi Rafal,
The logs found in /opt/picochess/logs/picochess.log.n are for the developers use in tracking down any faults etc, granted you can change the value in the /opt/picochess/picochess.ini file to either debug, info, warning, error or critical but it’s not going to help in what you want. There is a log of all games in /opt/picochess/games/games.pgn. These can be set to email anyone in the picochess.ini file, so you can send his games to your email address.
When a player takes back a move and a new move is played, only the final moves played are shown in the pgn file. Takebacks are not shown in the pgn file.
You can check the valuation on the DGT Pi whilst playing a game but these are not stored in the games.pgn file. You can however either cut the game from games.pgn or the emailed game and paste it into a program to give you the information you want. I’ve installed Python-Chess-Annotator from a GitHub repository directly onto my DGT Pi and run it on a remote terminal. Chess-Artist is similar.
Here’s a game I played against Weakfish over the weekend (I blundered a piece but managed to win), and the associated output from Python-Chess-Annotator.
My Game:
[Event "PicoChess Game"]
[Site "Bermondsey, London"]
[Date "2021.08.28"]
[Round "?"]
[White "Scally"]
[Black "Weakfish XI-r3 (level 8)"]
[Result "1-0"]
[Time "18:16:16"]
[WhiteElo "1650"]
[BlackElo "1850"]
[PicoDepth "0"]
[PicoTimeControl "5 3"]
[PicoRemTimeW "162"]
[PicoRemTimeB "14"]
[PicoOpeningBook "books/HumanPower-v2.bin"]
[Opening "Caro-Kann: Classical, 6.Nf3 Nd7 7.Bd3 e6"]
[ECO "B18o"]
1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Nxe4 Bf5 5. Ng3 Bg6 6. Nf3 Nd7 7. Bd3 e6 8.
O-O Ngf6 9. Bg5 Bd6 10. Re1 Qb6 11. b3 Bxd3 12. Qxd3 Bxg3 13. hxg3 O-O-O 14. c4
c5 15. Rac1 cxd4 16. Qxd4 Qxd4 17. Nxd4 h6 18. Bf4 e5 19. Bxe5 Nxe5 20. Rcd1
Rhe8 21. Nf5 Rxd1 22. Rxd1 Kc7 23. Nxg7 Rd8 24. Rxd8 Kxd8 25. Nf5 Kd7 26. Nxh6
Ke6 27. f3 Nfd7 28. g4 b5 29. cxb5 Nd3 30. Nf5 Kf6 31. Nd4 Nf4 32. g3 Ne6 33.
Nc6 Ng5 34. Kg2 Ne6 35. Nxa7 Nd4 36. Kf2 Ke6 37. f4 Kd5 38. g5 Kc5 39. Ke3 Nf5+
40. Kf3 Nd4+ 41. Kg4 Nb6 42. a4 Nd5 43. Nc6 Ne3+ 44. Kh5 Nxc6 45. bxc6 Kxc6 46.
g4 Nd5 47. f5 Ne7 48. Kh6 Kd7 49. a5 Nc6 50. g6 fxg6 51. fxg6 Nxa5 52. b4 Nc6
53. b5 Ne7 54. g7 Kc7 55. Kh7 Kb6 56. g8=Q Nxg8 57. Kxg8 Kc7 58. g5 Kb6 59. g6
Kc7 60. g7 Kb6 61. Kf7 Kxb5 62. g8=Q Ka5 63. Qb8 Ka6 64. Ke6 Ka5 65. Kd5 Ka4
66. Kc4 Ka3 67. Qb3# 1-0
Analysing it with Python-Chess-Annotator using Stockfish:
Al@RPi4-SSD:~/Engine-Source/Python-chess-annotator $ sudo python3 -m annotator -f Al-v-Weakfish.pgn -e /opt/picochess/engines/armv7l/stockfishDev -g 10 -t 4
{ Stockfish 230821 } 1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Nxe4 Bf5 { B18 Caro-Kann Defense: Classical Variation } 5. Ng3 Bg6 6. Nf3 Nd7 7. Bd3 e6 8. O-O Ngf6 9. Bg5 Bd6 10. Re1 Qb6 11. b3 Bxd3 12. Qxd3 Bxg3 13. hxg3 O-O-O 14. c4 c5 15. Rac1 cxd4 $6 { 3.22 } ( 15... h6 16. Be3 { 1.93/21 } ) 16. Qxd4 $2 { 0.46 } ( 16. c5 Qa6 { 3.14/25 } ) 16... Qxd4 17. Nxd4 h6 18. Bf4 $6 { -0.45 } ( 18. Be3 { 0.75/26 } ) 18... e5 19. Bxe5 $4 { -3.76 } ( 19. Nb5 exf4 { -0.61/27 } ) 19... Nxe5 20. Rcd1 Rhe8 21. Nf5 Rxd1 22. Rxd1 Kc7 23. Nxg7 Rd8 24. Rxd8 Kxd8 25. Nf5 Kd7 26. Nxh6 Ke6 27. f3 Nfd7 28. g4 b5 $2 { 0.00 } ( 28... Nd3 29. Kf1 Nc1 30. Ke1 Nxa2 31. Kd1 Nc5 32. Kc2 Nb4+ 33. Kc3 { -2.43/32 } ) 29. cxb5 Nd3 30. Nf5 Kf6 31. Nd4 Nf4 $6 { 1.39 } ( 31... Nb4 32. a3 Ke5 33. Nc6+ Nxc6 34. bxc6 Nb6 35. Kf2 Nd5 36. g5 { -0.00/32 } ) 32. g3 Ne6 $6 { 2.00 } ( 32... Nd3 33. f4 { 1.10/28 } ) 33. Nc6 Ng5 34. Kg2 Ne6 35. Nxa7 Nd4 36. Kf2 Ke6 37. f4 Kd5 38. g5 Kc5 39. Ke3 Nf5+ 40. Kf3 Nd4+ 41. Kg4 Nb6 42. a4 Nd5 43. Nc6 Ne3+ 44. Kh5 Nxc6 45. bxc6 Kxc6 46. g4 Nd5 47. f5 Ne7 48. Kh6 Kd7 49. a5 Nc6 50. g6 fxg6 51. fxg6 Nxa5 52. b4 Nc6 53. b5 Ne7 54. g7 Kc7 55. Kh7 Kb6 56. g8=Q Nxg8 57. Kxg8 Kc7 58. g5 Kb6 59. g6 Kc7 60. g7 Kb6 61. Kf7 Kxb5 62. g8=Q Ka5 63. Qb8 Ka6 64. Ke6 Ka5 65. Kd5 Ka4 66. Kc4 Ka3 67. Qb3# 1-0
Or, you could also paste the game in Lichess.org and get the analysis plus more info:
Scally:
4 inaccuracies
0 mistakes
2 blunders
28 Average centipawn loss
Weakfish XI-r3 (level 8)
6 inaccuracies
1 mistake
2 blunders
40 Average centipawn loss
To answer your last question, once Picochess is out of book and thinking you can make it move instantly by pressing the the pause/play button in the centre of the DGT Pi clock buttons >||
Cheers,
Al.