Python Forum
Chess on Tkinter Snapping Issues
Thread Rating:
  • 4 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chess on Tkinter Snapping Issues
#2
(Jan-12-2019, 04:34 PM)Trinx Wrote: Also if you know how I could make my code shorter, let me know. Thanks
Your code can be massively condensed from simple for loops. For example, instead of packing each individual button separately, put them in a list and pack them all. You can do the same with creating the Button as the only thing that is changing is the text.
Recommended Tutorials:
Reply


Messages In This Thread
Chess on Tkinter Snapping Issues - by Trinx - Jan-12-2019, 04:34 PM
RE: Chess on Tkinter Snapping Issues - by metulburr - Jan-12-2019, 06:29 PM
RE: Chess on Tkinter Snapping Issues - by Trinx - Jan-12-2019, 10:27 PM
RE: Chess on Tkinter Snapping Issues - by metulburr - Jan-12-2019, 11:15 PM
RE: Chess on Tkinter Snapping Issues - by Trinx - Jan-13-2019, 08:04 PM
RE: Chess on Tkinter Snapping Issues - by metulburr - Jan-13-2019, 09:47 PM
RE: Chess on Tkinter Snapping Issues - by Trinx - Jan-15-2019, 02:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Moving chess piece using mouse reepio13 7 7,070 Feb-24-2018, 11:26 PM
Last Post: reepio13

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020