老规矩,上代码: # -*- coding: utf-8 """ a chess game enjoy it! """ #import modules from tkinter import * import math #define a class about chessboard class chessBoard(): def __init__(self): self.window=Tk() self.window.title('Chess Game') self.wind...【查看原文】