# Path: enums.py
# class Clue(Enum):
#     Rank = 0
#     Suit = 1


import configparser
import json
from enums import Clue
names = []
currentTurn = None
currentPosition = None
deckSize = None
clues = 8
score = 0
hand = []
for msg in messages:
    data = msg['resp']
    if msg['type'] == 'init':
        if position is None:
            position = data['seat']
        if position >= len(data['names']):
            raise Exception('Not enough players')
        names = data['names']
    elif msg['type'] == 'notify':
        if data['type'] == 'turn':
            currentTurn = data['num']
            currentPosition = data['who']
        elif data['type'] == 'draw_size':
            deckSize = data['size']
        elif data['type'] == 'status':
            clues = data['clues']
            score = data['score']
        elif data['type'] == 'draw':
            if data['who'] == position:
                hand.append(data['order'])

        if currentPosition == position:
            if data['type'] == 'clue':

# Path: enums.py
# class Clue(Enum):
#     Rank = 0
#     Suit = 1


# Path: create_test.py
import configparser
import json
from enums import Clue

names = []
currentTurn = None
currentPosition = None
deckSize = None
clues = 8
score = 0
hand = []
for msg in messages:
    data = msg['resp']
    if msg['type'] == 'init':
        if position is None:
            position = data['seat']
        if position >= len(data['names']):
            raise Exception('Not enough players')
        names = data['names']
    elif msg['type'] == 'notify':
        if data['type'] == 'turn':
            currentTurn = data['num']
            currentPosition = data['who']
        elif data['type'] == 'draw_size':
            deckSize = data['size']
        elif data['type'] == 'status':
            clues = data['clues']
            score = data['score']
        elif data['type'] == 'draw':
            if data['who'] == position:
                hand.append(data['order'])

        if currentPosition == position:
            if data['type'] == 'clue':

                if data['clue']['type'] == Clue.Suit.value: