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 numbers as strings and removes them from a list
def removeNumbers(removes, lst):
   for num in removes:
       num = int(num)
       if num in lst:
           lst.remove(num)

# checks if a specific move (removal) is possible given a roll
def playPossible(removes, lst, roll):
   count = 0
   for num in removes:
       num = int(num)
       if num not in lst:
           return False
       else:
           count += num
   return count == roll


# checks if any move is possible given a roll
def anyMovePossible(roll, lst):
   for i in range(len(lst)):
       for j in range(i + 1, len(lst)):
           if lst[i] + lst[j] == roll:
               return True
   if roll in lst:
       return True
   return False

 
        
def playGame():
    #list of 2-10 inclusive
    gameList = [2,3,4,5,6,7,8,9,10]
    while len(gameList) != 0:
        print("Current list:", gameList)
        #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()