Skip to content

Commit

Permalink
Merge branch 'main' of github.com:online-go/goban
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Jan 13, 2024
2 parents 55d3ed6 + f43df4d commit 02c4c5e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/GoEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,13 @@ export class GoEngine extends EventEmitter<Events> {
break;

case "ing":
defaults.komi = 8;
// https://www.usgo-archive.org/sites/default/files/pdf/IngRules2006.pdf
//
// pg. 26:
//
// Fixed compensation: Mandatory eight points handicap, black
// wins in case of drawn games.
defaults.komi = 7.5;
defaults.score_prisoners = false;
defaults.allow_superko = false;
defaults.superko_algorithm = "ing";
Expand Down

0 comments on commit 02c4c5e

Please sign in to comment.