This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Type your text here | |
from math import * | |
from kandinsky import* | |
scr_w = 320 | |
scr_h = 222 | |
ball = (5,10,-1,-1) | |
#this is (pos x,pos y, move x, move y) | |
def draw_ball(ball): | |
fill_rect(ball[0],ball[1],10,10,color(255,0,0)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * |