Fidget Spinner game using python.

       Fidget Spinner game using python                                       I am using Pycharm   😉                               # first we need install pygame package on the interpreter # Then this is the code for the game import pygame import sys from math import * # Initialization of Pygame Windowruiop, pygame.init() width = 500 height = 500 display = pygame.display.set_mode((width, height)) clock = pygame.time.Clock() pygame.display.set_caption("Fidget Spinner Simulation") # Colors background = (51, 51, 51) white = (240, 240, 240) red = (176, 58, 46) dark_red = (120, 40, 31) dark_gray = (23, 32, 42) blue = (40, 116, 166) dark_blue = (26, 82, 118) yellow = (183, 149, 11) dark_yellow = (125, 102, 8) green = (29, 131, 72) dark_green = (20, 90, 50) orange = (230, 126, 34) dark_orange = (126, 81, 9) # Close the Pygame Window def close():     pygame.quit()     sys.exit() # D