import tkinter as tk from tkinter import messagebox import pickle window = tk.Tk() window.title("井中井") # Create board def create_board(): for i in range(9): for j in range(9): if i<=2 and j<=2: button = tk.Button(window, text="", font=("Arial", 10), height=2, width=6, bg="red", command=lambda row=i, col=j: handle_click(row, col)) button.grid(row=i, column=j, sticky="nsew") elif (i<=2) and (2