This third blog post presents the User Interface that I designed for my 2048 video game (you can check the first blog post of this series out if you haven’t read it yet).
I chose to rely on the very good tkinter
package, which is the standard Python interface to the Tk
GUI toolkit. Both Tk
and tkinter
are available on most Unix platforms, as well as on Windows systems. More details are available on the official documentation website.
This third post will mainly describe the TkConstants
and Window
classes. If you want more details, the source code of the project is also available on Github.