Skip to content

Instantly share code, notes, and snippets.

View stitchinthyme's full-sized avatar

stitchinthyme

View GitHub Profile
from scene import *
from random import randint
screen_size = Size()
class Ball (object):
def __init__(self, pos=None, size=Size(70, 70), c=(1,0,0)):
load_image('White_Circle')
if pos is None:
pos = Point(randint(0, screen_size.w), randint(0, screen_size.h))