fixes #891 - wrong move number in FEN

simplify FEN generation and add current_color() function to rules

extracts FEN code into a separate compilation unit

(0) -100 -30 -10 -3 +3 tip

mercurial