bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] feature request: tuple2string move converter python function


From: bagrat lazaryan
Subject: [Bug-gnubg] feature request: tuple2string move converter python function (inverse parsemove)
Date: Tue, 23 Oct 2012 13:44:40 +0200

occasionally (especially for debug purposes) it may be useful to have such a
function. that makes moves returned by findbestmove() more human readable. i
suppose the function would receive the move (tuple of 8 ints) and the board
and return the string of the standard form. (e. g. (24, 18, 24, 18, 13, 7,
13, 7) - "24/18(2) 13/7*(2)"; or (24, 18, 18, 13, 0, 0, 0, 0) - "24/13")

-- 
bagratte




reply via email to

[Prev in Thread] Current Thread [Next in Thread]