screen.blit(background, (0,0))
mpos = pygame.mouse.get_pos()
x, y = pygame.mouse.get_pos()
x -= mouse_cursor.get_width() /2
y -= mouse_cursor.get_height() /2

#screen.fill((0,0,0))
screen.blit(mouse_cursor,(x,y))
ohagibotamoti = random.random()*10
ob = random.random()*10 
yy = yy + 1.0
screen.blit(ohagi,(xx,yy)) 
yy2 = yy2 + 1.0
screen.blit(botamoti,(xx2,yy2)) 
yy3 = yy3 + 1.0
screen.blit(botamoti,(xx3,yy3)) 
if yy > 480:
print("data")
yy = 0
xx = random.random()*640
if yy2 > 480:
print("data")
yy2 = 0
xx2 = random.random()*640
if yy3 > 480:
print("data")
yy3 = 0
xx3 = random.random()*640
print(yy,xx)
print("ss")
#if x > xx and y > yy and x +100 < xx + 100 and y + 100 < yy + 220: 
if  mpos[0] < (xx + 55) and mpos[1] < (yy + 55) and mpos[0] > xx and mpos[1] > yy:
xx = yy = 0
score = score + 1 
xx = random.random()*640
print("ok")

ff = 0
if  mpos[0] < (xx2 + 55) and mpos[1] < (yy2 + 55) and mpos[0] > xx2 and mpos[1] > yy2:
xx2 = yy2 = 0
score = score + 1 
xx2 = random.random()*640
if  mpos[0] < (xx3 + 55) and mpos[1] < (yy3 + 55) and mpos[0] > xx3 and mpos[1] > yy3:
xx3 = yy3 = 0
score = score + 1 
xx3 = random.random()*640
print("ok")
#if mpos[0] > 220 and mpos[1] > 100 and mpos[0] < 325 and mpos[1] < 130 and pygame.mouse.get_pressed()[0] == 1 :

x=+move_x
y=+move_y

print(mpos)
font  = pygame.font.Font(None,33)
scoretext = font.render("SCORE"+ str(score),False,(0,0,0))
t2 = pygame.time.get_ticks()
tt = int(t2) / 1000
print(tt)
t3 = font.render(str(tt),False,(0,0,0))
t4 = tt

print(t3)
if t4 ==  10:
cong(score) 
print("555")
screen.blit(scoretext,(1,1)) 
screen.blit(t3,(200,1)) 

pygame.display.update()
