Created Pong and Crossy Road on each day, respectively.
reviewed concepts:
- creating classes
- creating class attributes using
__init__()
- creating class methods using
def
- inheriting attributes and methods using
super().__init()__
- event listeners
screen.onkey()
- distance logic using
if
statements withobject.xcor()
,object.ycor()
orobject.distance()
- arbitrarily refreshing screen with
screen.tracer(0)
andtime.sleep()
Top comments (0)