base on java  for chiness chess.