lichess.org
Donate

Anti cheating "indicators"

Awesome!
I can add the move times. I save the times internally. I'll see if there is a PGN compliant way to display times.
Making it portable would be great as I don't have Windows, I use Linux. Also if you know Git I'd love to contribute (or try to) using GitHub. If you don't know Git, learn it ;) it's awesome
[Event "Partie amicale, 10m"]
[Site "Grande salle de jeu"]
[Date "2011.07.15"]
[Round "?"]
[White "Mathieu Peyréga"]
[Black "Dragon-g6"]
[Result "1-0"]
[ECO "B72"]
[WhiteElo "1258"]
[BlackElo "2034"]
[PlyCount "41"]
[EventDate "2011.07.15"]
[TimeControl "600"]

1. e4 {2} c5 {6} 2. Nf3 {1} d6 {4} 3. d4 {2} cxd4 {2} 4. Nxd4 {1} Nf6 {1} 5.
Nc3 {2} g6 {0} 6. Be3 {2} Bg7 {0} 7. Qd2 {1} O-O {1} 8. O-O-O {2} Ng4 {32} 9.
f3 {1} Nxe3 {2} 10. Qxe3 {0} Bd7 {5} 11. Kb1 {1} Nc6 {1} 12. Nxc6 {9} Bxc6 {5}
13. h4 {3} h5 {3} 14. g4 {2} Qa5 {21} 15. gxh5 {15} Rac8 {6} 16. h6 {13} Bxc3 {
4} 17. bxc3 {15} Qa3 {5} 18. Qd4 {10} f6 {10} 19. Bc4+ {1} d5 {21} 20. exd5 {4}
Bxd5 {2} 21. Qxd5+ {46 Dragon-g6 resigns (Lag: Av=0.49s, max=1.0s)} 1-0

This is a sample of a PGN format including move times (from playchess server)
http://en.lichess.org/analyse/kdfpdn38/export?time=1

[Event "Rated Game"]
[Site "http://en.lichess.org/analyse/kdfpdn38"]
[Date "2011.07.19"]
[White "NinjaWithKatana"]
[Black "legend"]
[WhiteElo "1499"]
[BlackElo "1441"]
[Result "0-1"]
[PlyCount "75"]
[Variant "Standard"]

1. e4 {0} e5 {0} 2. Nf3 {2} f5 {3} 3. d3 {3} Nc6 {2} 4. Nc3 {5} Nf6 {3} 5. Be2 {8} Bb4 {2} 6. Bg5 {15} O-O {5} 7. O-O {6} Bxc3 {5} 8. bxc3 {3} d6 {3} 9. Nd2 {33} f4 {2} 10. Nf3 {4} h6 {7} 11. Bxf6 {3}
Qxf6 {3} 12. d4 {2} Bg4 {2} 13. d5 {8} Ne7 {8} 14. h3 {7} Bh5 {3} 15. Nh2 {10} Bg6 {7} 16. Ng4 {8} Qf7 {18} 17. f3 {4} h5 {5} 18. Nf2 {4} Bh7 {3} 19. c4 {4} Ng6 {4} 20. Rb1 {14} b6 {2} 21. c3 {8} Nh4
{3} 22. Nd3 {5} Qg6 {3} 23. Rf2 {2} Rf6 {6} 24. Nb4 {9} Qf7 {11} 25. Nc6 {3} a5 {8} 26. Qa4 {22} Rf8 {14} 27. Na7 {19} g5 {11} 28. Nb5 {4} g4 {8} 29. fxg4 {19} hxg4 {5} 30. Bxg4 {7} Kh8 {2} 31. Re1
{12} f3 {27} 32. gxf3 {6} Nxf3+ {11} 33. Bxf3 {9} Rxf3 {11} 34. Rxf3 {4} Qxf3 {2} 35. Qd1 {3} Qf2+ {4} 36. Kh1 {6} Rg8 {23} 37. Re2 {21} Bxe4+ {10} 38. Rxe4 {3} Qg2# {7} 0-1
I started using this pgn/fen utilities library released under GPL :

http://remi.coulom.free.fr/

It should help a lot in the FEN / PGN parsing process...
As for GIT, I'm not used to it (used to SVN), but while a first version will be available, I can try it...
The PlyCount field on the example you provided seems incorrect : should be 76
I have made good progress today... I'm able to play the moves one after another and get the engine output.
I still have to parse this output...
Game have 76 plies
Ply : 0
Game ply : e2e4

Engine move #1 b1c3 eval : 0.17
Engine move #2 g1f3 eval : 0.17
Engine move #3 e2e3 eval : 0
-------------------------
Ply : 1
Game ply : e7e5

Engine move #1 d7d5 eval : -0.17
Engine move #2 b8c6 eval : -0.17
Engine move #3 e7e5 eval : -0.29
-------------------------
Ply : 2
Game ply : g1f3

Engine move #1 g1f3 eval : 0.27
Engine move #2 b1c3 eval : 0.27
Engine move #3 d2d4 eval : 0.1
-------------------------
Ply : 3
Game ply : f7f5

Engine move #1 g8f6 eval : -0.27
Engine move #2 b8c6 eval : -0.27
Engine move #3 d7d5 eval : -0.39
-------------------------
Ply : 4
Game ply : d2d3

Engine move #1 b1c3 eval : 0.59
Engine move #2 e4f5 eval : 0.58
Engine move #3 f3e5 eval : 0.42

-------------------------
...
-------------------------
Ply : 70
Game ply : g1h1

Engine move #1 g1h1 mate in : -6
-------------------------
Ply : 71
Game ply : f8g8

Engine move #1 f2g3 mate in : 6
Engine move #2 f2h4 mate in : 9
Engine move #3 f8f3 eval : 1.48
-------------------------
Ply : 72
Game ply : e1e2

Engine move #1 d1e2 eval : -0.12
Engine move #2 d1g4 mate in : -4
Engine move #3 d1d2 mate in : -2
-------------------------
Ply : 73
Game ply : h7e4

Engine move #1 h7e4 mate in : 2
Engine move #2 f2f3 mate in : 4
Engine move #3 f2f4 eval : 9.94
-------------------------
Ply : 74
Game ply : e2e4

Engine move #1 e2e4 mate in : -1
-------------------------
Ply : 75
Game ply : f2g2

Engine move #1 f2g2 mate in : 1
Engine move #2 g8g7 eval : -0.15
Engine move #3 g8g3 eval : -0.2
-------------------------
Whites move #1 match % : 34.2105
Blacks move #1 match % : 39.4737
Whites move #2 match % : 7.89474
Blacks move #2 match % : 10.5263
Whites move #3 match % : 10.5263
Blacks move #3 match % : 15.7895
Whites Errors : 1
Blacks Errors : 7
The kind of output that I can produce (for your sample game and a 1 second think per ply with Houdini_15a_x64 engine)

I will not have much time to work on it for the next days but it's on it's way, I send you the source files via e-mail.

This topic has been archived and can no longer be replied to.