From f95288736ce38df319dd935256d5571b5afa00a7 Mon Sep 17 00:00:00 2001 From: maxneedspats <84929191+maxneedspats@users.noreply.github.com> Date: Mon, 1 Aug 2022 00:16:47 -0500 Subject: [PATCH] Fixed link --- card.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/card.py b/card.py index 1a14290..4e25e56 100644 --- a/card.py +++ b/card.py @@ -4,6 +4,7 @@ from tkinter import PhotoImage class Card(turtle.Turtle): card_count = 0 + def __init__(self, image_path): """ Initializes Card object. @@ -41,7 +42,7 @@ class Card(turtle.Turtle): def is_mouse_over(self, x, y): # Collision code reused from D. Atkinson's Turtle Crossing program, with some minor modifications. - # https://www.youtube.com/watch?v=dQw4w9WgXcQ + # http://tiny.cc/ShortCodeLink top_edge = self.ycor() + 103 bottom_edge = self.ycor() - 103 car_left_edge = self.xcor() - 103