From 4f82a0b3c3cd71f682a5c447638672f53851f923 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 7 Jan 2012 18:45:29 +0100 Subject: [PATCH] tools/sgf-ratemove.sh: New tool to do what was just described in README up to now --- README | 42 +++++++++++++----------------------------- tools/sgf-ratemove.sh | 31 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 29 deletions(-) create mode 100755 tools/sgf-ratemove.sh diff --git a/README b/README index a8ff0cb..88539d8 100644 --- a/README +++ b/README @@ -119,43 +119,27 @@ Pachi can also help you analyze your games by being able to provide its opinion on various positions. The user interface is very rudimentary, but the ability is certainly there. -There are currently two Pachi interfaces provided for this purpose. One -possibility is to evaluate all moves within a given game and show how +There are currently several Pachi interfaces provided for this purpose. + +Winrate Development +~~~~~~~~~~~~~~~~~~~ + +Pachi can evaluate all moves within a given game and show how the winrates for both players evolved - i.e. who was winning at which game stage. This is implemented using the `tools/sgf-analyse.pl` script. See the comment on top of the script about its usage. -Alternatively, Pachi can evaluate all available moves in a given situation +Move Ranking +~~~~~~~~~~~~ + +Pachi can evaluate all available moves in a given situation and for each give a value between 0 and 1 representing perceived likelihood of winning the game if one would play that move. I.e. it can suggest which moves would be good and bad in a single given situation. -To achieve the latter, follow few simple steps: - -1. Take an SGF record of your game and generate a GTP file from it: - - tools/sgf2gtp.pl file.gtp - -2. Open the file.gtp in your favorite plaintext editor and trim it after -(remove all lines following) the move producing the situation you wish -to analyze. - -3. Instead, add the following line at the bottom of file.gtp: - - 0 uct_evaluate black - -(replace `black` with `white` if it is white to play). - -4. Run Pachi as follows: - - ./pachi -t =500 -d 0