結果 : code for chess game in python