Python
3
Вклад в тег
if event.type == pygame.MOUSEBUTTONDOWN:
if event.button == 1:
for i in range(CELL_WIDTH, 610, CELL_WIDTH):
for j in range(CELL_HEIGHT, 610, CELL_HEIGHT):
if (i+75,j) > event.pos > (i, j):
print(i,j)