conanbatt/OpenKaya — pull request #10 by killerducky (2012-01-31 00:13:43+00:00)
Title: Changed the suggest_handicap code. 

From the comments:

# Handicap *stones* are always set according to rank difference.
# After this step, komi is adjusted to make the game closer to even.
# For players of the same rank:
# If they are within 0.5 stones: Colors are picked randomly and komi is 6.5
# Otherwise: Stronger player takes white and komi is 0.5
# For players one rank apart:
# Stronger player takes white
# Komi can be 6.5, 0.5, or -5.5 based on rating difference.
# For players 2-9 ranks apart:
# Stronger player takes white, handicap = #ranks difference
# Komi can be 0.5 or -5.5 based on rating difference
# For players >9 ranks apart:
# Stronger player takes white, handicap = #ranks difference
# Komi = -5.5