This is "kentou" 1.x, a program for helping you review games of
go/baduk/weichi.  For our non-Japanese speakers (like me, alas), the
word is pronunced like "ken toh".



Using Kentou:
   To use kentou most effectively, I recommend that you:
   1) Dig up a game you find interesting, one between two very good players.
      Perhaps the game has an interesting story behind it, or you have
      particular respect for one or both of the players.
   2) Play through that game a number of times (at least once) in your favorite
      SGF viewer.  Think about why each move is played, especially when
      one of the players leaves an area to play elsewhere - ask yourself "how
      safe/complete is the area that was left?"  Also, if a sequence was left
      before it was "finished", ask yourself "why was that other area larger
      than finishing the unfinished sequence?"
   3) Run "kentou filename.sgf" on your selected game, and try to recall what
      you saw in the SGF viewer, based on the reasons for the moves.  Try
      to avoid memorizing things like "Black did such-and-so on move 127";
      that's not that helpful to your go study, but the reasons for the moves
      are.

	See also http://www.britgo.demon.co.uk/bgj/00113b.html.

   Kentou will start with a blank board (unless your selected game used a
   handicap greater than or equal to 2).  You are expected to guess each
   move of the game, from beginning to end.  Some people don't feel it's as
   productive to play through the endgame, but that's really up to you.

   X's mark incorrect guesses for the current move.  The right hand side
   of the window has information about how close your guess was, and whether
   your guess was correct.  Esound (Gnome) users should also get sounds
   indicating correct guesses and close guesses.



About the programming behind kentou:
   I've used Arno Hollosi's sgfc code (the reference implementation) to do the
   SGF interpretation, and I've used Changwoo Ryu's GtkGoBoard widget for the
   display.  In fact, the amount of actual new code here is fairly small.
   Both of these were under the GPL, and so is all of my new code - so the
   entire project is GPL'd.  See the file "COPYING" for more information.
   I've made an effort to make as few changes to sgfc and GtkGoBoard as
   is feasible, resulting in some extra compilation warnings.



About the SGF accepted by kentou:
   I've made some kind of heavy assumptions about what kind of SGF you're
   going to be feeding to kentou.  In particular, it ignores all variations,
   and assumes the moves were played in strict alternation.  It'll get
   a bit lost if you have a bunch of AB's and AW's (which don't come
   up in normal play; you need an SGF editor to create them).  It does
   understand handicaps and strange board sizes though.



Note on compiling:
   If you're using an older version of GTK+ (before 1.2.0 at least),
   you may need to add:

      #define gtk_label_set_text(label,msg) gtk_label_set(label,msg)

   near the top of kentou/kentou.c.  Kentou was mostly written using GTK+
	1.2.0, and compiles fine with the GTK+ (1.2.5) that comes with Redhat 6.1.