import random

# a function that rolls two dice and returns the sum of their values
def rollDice():
    return random.randint(1,6) + random.randint(1,6)

#takes in a list of string numbers and removes them from the list of sums
def removeNumbers(removes, sums): 
    for num in removes:
        num = int(num)
        if num in sums:
            sums.remove(num)

#checks if the move is possible
def playPossible(removes, sums, roll):
    count = 0
    for num in removes:
        num = int(num)
        if num not in sums:
            return False
        else:
            count += num
    return count == roll

#checks if any move is possible
def anyMovePossible(roll, sums):
    for i in range(len(sums)):
        for j in range(i, len(sums)):
            if sums[i] + sums[j] == roll:
                return True
    if roll in sums:
        return True
    return False
        
def playGame():
    #list of 2-10 inclusive
    sums = [2,3,4,5,6,7,8,9,10]
    while len(sums) != 0:
        print("Current list:", sums)
        #roll dice
        __________
        print("You rolled a " + str(_______))
        #check if you can play a move
        if _______________:
            print("You lose!")
            return
        #ask for input
        ______________________
        #make the input into a list
        ______________________
        #check if the move is possible, if not ask for another one
        while _____________________:
            __________________________
            __________________________
        #remove the numbers from the list
        ____________________
    #game over
    _________________

playGame()