chess history function

Signed-off-by: AndrewXU <zlqxccxuy@gmail.com>