UP = 0 DOWN = 1 LEFT = 2 RIGHT = 3 FILLING_UP = 4 FILLING_DOWN = 5 FILLING_LEFT = 6 FILLING_RIGHT = 7 FILLING = 8 FILLING_BACK = 9 FINISHED = -1 BROKEN = -2 COLORS = ( (138, 43, 226), (156, 102, 31), (255, 64, 64), (100, 0, 205), (255, 97, 3), (0, 255, 0), (255, 20, 147), (105, 105, 105), (252, 230, 201), (255, 215, 0), (255, 106, 106), (230, 230, 250), (139, 137, 112), (255, 160, 122), (32, 178, 170), (132, 112, 255), (93, 71, 139), (238, 64, 0), (255, 192, 203), (255, 100, 255), )