added stalemate and draw alerts. improved log and added intrinsic value to pieces