class Player(object):
    def move(self, board):
        board[4] = "spam"
        return board

class Human(Player):
    def move(self, board):
        square = raw_input("Which square do you choose? ")
        board[square] = 10
        return board

class Computer(Player):
    def move(self, board):
        for i in range(0, len(board)):
            if board[i] == 0:
                board[i] = 1
                break
        return board
                   

@@ -86,24 +86,222 @@
 turn board%0A%0A
+    def get_legal_moves(self, board):%0A        legal_moves = %5B%5D%0A        for i in range(0, len(board)):%0A            if board%5Bi%5D == 0:%0A                legal_moves.append(i)%0A        return legal_moves%0A%0A
 class Human(

write get_legal_moves method for players