TEXT 108
Untitled Guest on 8th June 2020 08:15:37 AM
  1. import pygame
  2. from random import randint, choice
  3. import time
  4.    
  5.  
  6. def circle_inside(x_y,food):
  7.   if x_y[0] >= food[0] and x_y[0] <= food[0] + 20:
  8.     if x_y[1] >= food[1] and x_y[1] <= food[1] + 20:
  9.       return True
  10. pygame.init()
  11. win = pygame.display.set_mode((900, 500))
  12. pygame.display.set_caption('Симуляция COVID19')
  13. done = False

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.