Skip to Content
Tkinter GUI Application Development Blueprints, Second Edition - Second Edition
book

Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

by Bhaskar Chaudhary
March 2018
Beginner to intermediate
422 pages
10h 33m
English
Packt Publishing
Content preview from Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

Game of Chess

Let's build a game of chess in Tkinter. If you already know the basic rules of chess, you are ready to write this program. However, if you do not know the rules, you should read them before you start programming this application.

Some of the key objectives of this chapter are as follows:

  • Learning how to structure a program in a Model-View-Controller (MVC) architecture
  • Learning how to tame complexity by implementing programs in a modular structure
  • Taking a look at the versatility and power of the Tkinter Canvas widget
  • Learning the basic usage of canvas coordinates, object IDs, and tags
  • Learning the recommended error-handling practices
  • Learning how to extend Python's built-in data types
  • Using object inheritance to code classes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Tkinter GUI Application Development Blueprints

Tkinter GUI Application Development Blueprints

Bhaskar Chaudhary

Publisher Resources

ISBN: 9781788837460Supplemental Content