Code below has 1 major and 1 minor problem. Major issue is, once you push the button it visually stays pushed. Minor problem is, I run this in Cygwin. I've got an rxvt window behind the Tk window.
This is a simple Tic Tac Toe desktop game built with Python's Tkinter GUI library. It allows two players to take turns and includes win/draw detection and a restart button.
CTC教育サービスはコラム「ゼロから歩くPythonの道> 第23回 TkinterのEntryに入力された値を取得しよう(getメソッド)」を公開しました。 こんにちは、吉政創成 菱沼です。 今回も「いちばんやさしいPython入門教室(大澤 文孝氏著) 」を片手に勉強していき ...