connect four (game)

nospam.Terry Reedy tjreedy at udel.edu
Sat Nov 25 01:49:00 EST 2017


On 11/25/2017 4:57 PM, namenobodywants at gmail.com wrote:
> On Saturday, November 25, 2017 at 12:48:38 AM UTC-8, Terry Reedy wrote:
>
>> I did, and it looks buggy to me.  The top and left frame lines are
>> missing.  If I click a square, the bottom square in the column lights
>> up.  But then I have no idea whether those are your intentions or not.
> i hadn't noticed about the frame lines, but it's the same for me; but i'm
hoping you meant to write that the TOP square in a column flashes when you
"drop a token" down that column;

All squares start white.  Only the bottom square turns red or black, after
perhaps a .3 second delay during which there is some jitter in white squares
above, which could be the effect of white flashing white.

> if you really meant the bottom one then i'm totally baffled that it could be
the top one for me and the bottom one for you ... is that something that can
happen because of a bug?

I am running on Windows 10 from IDLE (which should not affect your code) with
3.7.0a2 with tk 8.6.6. The OS and tk version could have an effect, though top
versus bottom is hard to fathom.

--
Terry Jan Reedy




More information about the Python-list mailing list