def get_valid_moves(board, moves):
    """
    Return the moves that can be played on the board
    @param board: board of the current game
    @param moves: a list of moves
    @return: moves that are valid
    """
    for move in moves:
        if not board[move.line, move.column] == 0:
            moves.remove(move)

    return moves