class Player(object):

    def get_legal_moves(self, board):
        legal_moves = []
        for i in range(0, len(board)):
            if board[i] != 1 and board[i] != 10:
                legal_moves.append(i)
        return legal_moves

class Human(Player):

    id = 'human'

    def move(self, board):
        choice = int(raw_input("Which square do you choose? "))-1
        if self.check_conscience(choice, board):
            self.move(board)
        else: 
            board[choice] = 10
        return board

    def check_conscience(self, choice, board):
        if choice not in self.get_legal_moves(board):
            print "Please choose a number not already taken."
            return True
            

class Computer(Player):

    id = 'computer'

    # will play a perfect game for board size 2x2 or smaller!
    def move(self, board):
        options = self.get_legal_moves(board)
        board[options[0]] = 1
        return board
                   

@@ -617,70 +617,8 @@
 d):%0A
-            print %22Please choose a number not already taken.%22%0A
     

delete print statement for cleaner testing